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