示例#1
0
 public OAuthRevokeTokenController(
     IOAuthRefreshTokenStorage oAuthRefreshTokenStorage,
     IOAuthClientStorage oAuthClientStorage)
 {
     _oAuthRefreshTokenStorage = oAuthRefreshTokenStorage;
     _oAuthClientStorage       = oAuthClientStorage;
 }
 public OAuthRefreshTokenService(
     HttpOAuthConfig config,
     ITokenService tokenService,
     IOAuthUserProvider oAuthUserProvider,
     IOAuthRefreshTokenStorage oAuthRefreshTokenStorage)
 {
     _config                   = config;
     _tokenService             = tokenService;
     _oAuthUserProvider        = oAuthUserProvider;
     _oAuthRefreshTokenStorage = oAuthRefreshTokenStorage;
 }
示例#3
0
 public OAuthTokenController(
     IOAuthClientService oAuthClientService,
     IOAuthRefreshTokenService oAuthRefreshTokenService,
     IOAuthAccessTokenService oAuthAccessTokenService,
     IOAuthUserProvider oAuthUserProvider,
     IOAuthRefreshTokenStorage oAuthRefreshTokenStorage)
 {
     _oAuthClientService       = oAuthClientService;
     _oAuthRefreshTokenService = oAuthRefreshTokenService;
     _oAuthAccessTokenService  = oAuthAccessTokenService;
     _oAuthUserProvider        = oAuthUserProvider;
     _oAuthRefreshTokenStorage = oAuthRefreshTokenStorage;
 }