Ejemplo n.º 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;
		}
Ejemplo n.º 2
0
        /// <summary>
        /// Constructor
        /// </summary>
		public FHAuthRequest(CloudProps cloudProps)
        {
            _cloudProps = cloudProps;
			_oauthClient = ServiceFinder.Resolve<IOAuthClientHandlerService>();
		}
Ejemplo n.º 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;
 }
Ejemplo n.º 4
0
        /// <summary>
        /// Constructor
        /// </summary>
		public FHAuthRequest(CloudProps cloudProps)
			: base()
		{
            this.cloudProps = cloudProps;
			this.oauthClient = ServiceFinder.Resolve<IOAuthClientHandlerService>();
		}
Ejemplo n.º 5
0
 /// <summary>
 /// Constructor
 /// </summary>
 public FHAuthRequest(CloudProps cloudProps)
 {
     _cloudProps  = cloudProps;
     _oauthClient = ServiceFinder.Resolve <IOAuthClientHandlerService>();
 }