Ejemplo n.º 1
0
 public Claims(
     IDictionary <string, Claimset> claimsets = null,
     DateTime?expiration = null,
     string signature    = null,
     string encoded      = null,
     string ticket       = null,
     Func <string, string, bool> verifier = null,
     ClaimsAuthority claimsAuthority      = null)
 {
     this.Claimsets       = claimsets;
     this.Expiration      = expiration;
     this.Signature       = signature;
     this.Encoded         = encoded;
     this.Ticket          = ticket;
     this.Verifier        = verifier;
     this.ClaimsAuthority = claimsAuthority;
 }
Ejemplo n.º 2
0
		public Claims(
			IDictionary<string, Claimset> claimsets = null,
			DateTime? expiration = null,
			string signature = null,
			string encoded = null,
			string ticket = null,
			Func<string, string, bool> verifier = null,
			ClaimsAuthority claimsAuthority = null)
		{
			this.Claimsets = claimsets;
			this.Expiration = expiration;
			this.Signature = signature;
			this.Encoded = encoded;
			this.Ticket = ticket;
			this.Verifier = verifier;
			this.ClaimsAuthority = claimsAuthority;
		}
Ejemplo n.º 3
0
 public ClaimsFactory(Func<string, string, bool> verifier, ClaimsAuthority claimsAuthority)
 {
     _verifier = verifier;
     _claimsAuthority = claimsAuthority;
 }