Beispiel #1
0
 public AccountController(IdentityStoreManager identityStore,
                          IdentityAuthenticationManager authenticationManager, OAuthBearerAuthenticationOptions bearer,
                          ISecureDataHandler <ExternalAccessToken> externalTokenHandler)
 {
     IdentityStore         = identityStore;
     AuthenticationManager = authenticationManager;
     Bearer = bearer;
     ExternalTokenHandler = externalTokenHandler;
 }
Beispiel #2
0
 public ExternalAccessTokenHandler(ISecureDataHandler <AuthenticationTicket> innerHandler)
 {
     InnerHandler = innerHandler;
 }
 public TwitterAuthenticationHandler(ILogger logger, ISecureDataHandler <RequestToken> tokenProtectionHandler)
 {
     _logger = logger;
     this._tokenProtectionHandler = tokenProtectionHandler;
 }