예제 #1
0
        /// <summary>
        /// Set the OAuth handler. The auth API will return a URL to redirect users to login for OAuth type authentications.
        /// The handler need to implement the function to allow user to login and return the authentication info at the end.
        /// </summary>
        /// <param name="oauthHandler">the handler for OAuth login</param>
		public void SetOAuthHandler(IOAuthClientHandlerService oauthHandler)
		{
			_oauthClient = oauthHandler;
		}
예제 #2
0
        /// <summary>
        /// Constructor
        /// </summary>
		public FHAuthRequest(CloudProps cloudProps)
        {
            _cloudProps = cloudProps;
			_oauthClient = ServiceFinder.Resolve<IOAuthClientHandlerService>();
		}
예제 #3
0
 /// <summary>
 /// Set the OAuth handler. The auth API will return a URL to redirect users to login for OAuth type authentications.
 /// The handler need to implement the function to allow user to login and return the authentication info at the end.
 /// </summary>
 /// <param name="oauthHandler">the handler for OAuth login</param>
 public void SetOAuthHandler(IOAuthClientHandlerService oauthHandler)
 {
     _oauthClient = oauthHandler;
 }
예제 #4
0
        /// <summary>
        /// Constructor
        /// </summary>
		public FHAuthRequest(CloudProps cloudProps)
			: base()
		{
            this.cloudProps = cloudProps;
			this.oauthClient = ServiceFinder.Resolve<IOAuthClientHandlerService>();
		}
예제 #5
0
 /// <summary>
 /// Constructor
 /// </summary>
 public FHAuthRequest(CloudProps cloudProps)
 {
     _cloudProps  = cloudProps;
     _oauthClient = ServiceFinder.Resolve <IOAuthClientHandlerService>();
 }