public DurableIssuedSecurityTokenProvider(IssuedSecurityTokenProvider innerTokenProvider, IssuedTokenCache cache)
 {
     if (cache == null)
     {
         throw new ArgumentNullException("cache");
     }
     if (innerTokenProvider == null)
     {
         throw new ArgumentNullException("innerTokenProvider");
     }
     this.innerTokenProvider = innerTokenProvider;
     this.cache = cache;
     this.target = innerTokenProvider.TargetAddress;
     this.issuer = innerTokenProvider.IssuerAddress;
 }
Esempio n. 2
0
 public DurableIssuedSecurityTokenProvider(IssuedSecurityTokenProvider innerTokenProvider, IssuedTokenCache cache)
 {
     if (cache == null)
     {
         throw new ArgumentNullException("cache");
     }
     if (innerTokenProvider == null)
     {
         throw new ArgumentNullException("innerTokenProvider");
     }
     this.innerTokenProvider = innerTokenProvider;
     this.cache  = cache;
     this.target = innerTokenProvider.TargetAddress;
     this.issuer = innerTokenProvider.IssuerAddress;
 }
 public DurableIssuedTokenClientCredentialsTokenManager(DurableIssuedTokenClientCredentials creds)
     : base(creds)
 {
     this.cache = creds.IssuedTokenCache;
 }
 DurableIssuedTokenClientCredentials(DurableIssuedTokenClientCredentials other)
     : base(other)
 {
     this.cache = other.cache;
 }
Esempio n. 5
0
 public DurableIssuedTokenClientCredentialsTokenManager(DurableIssuedTokenClientCredentials creds)
     : base(creds)
 {
     this.cache = creds.IssuedTokenCache;
 }
Esempio n. 6
0
 DurableIssuedTokenClientCredentials(DurableIssuedTokenClientCredentials other)
     : base(other)
 {
     this.cache = other.cache;
 }