public AccessTokenVerifierWithCaching(IAccessTokenVerifier accessTokenVerifier,
                                       IAccessTokenCache accessTokenCache, int cacheEntryExpirationTime)
 {
     _accessTokenVerifier      = accessTokenVerifier;
     _accessTokenCache         = accessTokenCache;
     _cacheEntryExpirationTime = cacheEntryExpirationTime;
 }
예제 #2
0
파일: Conn.cs 프로젝트: jeason0813/DryIoc
 public AccessTokenCacheClient(
     IAccessTokenClient arg0,
     IAccessTokenCache arg1
     )
 {
     field0 = arg0;
     field1 = arg1;
 }
예제 #3
0
 public ClientTokenProvider(HttpClient runly, IAuthentication auth, IAccessTokenCache cache, string client_id, string client_secret, string audience)
 {
     this.runly         = runly;
     this.auth          = auth;
     this.cache         = cache;
     this.client_id     = client_id;
     this.client_secret = client_secret;
     this.audience      = audience;
 }
예제 #4
0
 public ClientTokenProvider(HttpClient runly, IAuthentication auth, IAccessTokenCache cache, string client_id, string client_secret)
     : this(runly, auth, cache, client_id, client_secret, Audience.Api)
 {
 }