示例#1
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 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;
 }
 public DurableIssuedTokenClientCredentialsTokenManager(DurableIssuedTokenClientCredentials creds)
     : base(creds)
 {
     this.cache = creds.IssuedTokenCache;
 }
 DurableIssuedTokenClientCredentials(DurableIssuedTokenClientCredentials other)
     : base(other)
 {
     this.cache = other.cache;
 }