Microsoft.IdentityModel.Tokens.Experimental.ValidationParameters
Contains a set of parameters that are used by a SecurityTokenHandler when validating a SecurityToken.
namespace Microsoft.IdentityModel.Tokens.Experimental
{
public class ValidationParameters
{
public const string DefaultAuthenticationType = "AuthenticationTypes.Federation";
public static readonly TimeSpan DefaultClockSkew;
public const int DefaultMaximumTokenSizeInBytes = 256000;
public ValidationParameters ActorValidationParameters { get; set; }
public AlgorithmValidationDelegate AlgorithmValidator { get; set; }
public AudienceValidationDelegate AudienceValidator { get; set; }
public string AuthenticationType { get; set; }
public TimeSpan ClockSkew { get; set; }
public BaseConfigurationManager ConfigurationManager { get; set; }
public CryptoProviderFactory CryptoProviderFactory { get; set; }
public string DebugId { get; set; }
public bool IgnoreTrailingSlashWhenValidatingAudience { get; set; }
public bool IncludeTokenOnFailedValidation { get; set; }
public SignatureKeyValidationDelegate SignatureKeyValidator { get; set; }
public IDictionary<string, object> InstancePropertyBag { get; }
public bool IsClone { get; set; }
public SignatureKeyResolverDelegate SignatureKeyResolver { get; set; }
public IList<SecurityKey> SigningKeys { get; }
public IssuerValidationDelegateAsync IssuerValidatorAsync { get; set; }
public LifetimeValidationDelegate LifetimeValidator { get; set; }
public bool LogTokenId { get; set; }
public string NameClaimType { get; set; }
public Func<SecurityToken, string, string> NameClaimTypeRetriever { get; set; }
public IDictionary<string, object> PropertyBag { get; }
public bool RefreshBeforeValidation { get; set; }
public string RoleClaimType { get; set; }
public Func<SecurityToken, string, string> RoleClaimTypeRetriever { get; set; }
public bool SaveSigninToken { get; set; }
public SignatureValidationDelegate SignatureValidator { get; set; }
public IList<SecurityKey> DecryptionKeys { get; }
public ITokenReplayCache TokenReplayCache { get; set; }
public TokenReplayValidationDelegate TokenReplayValidator { get; set; }
public bool TryAllDecryptionKeys { get; set; }
public bool TryAllSigningKeys { get; set; }
public TokenTypeValidationDelegate TokenTypeValidator { get; set; }
public bool ValidateWithLKG { get; set; }
public IList<string> ValidAlgorithms { get; }
public IList<string> ValidAudiences { get; }
public IList<string> ValidIssuers { get; }
public IList<string> ValidTypes { get; }
public bool ValidateActor { get; set; }
protected ValidationParameters(ValidationParameters other);
public ValidationParameters();
public virtual ValidationParameters Clone();
public virtual ClaimsIdentity CreateClaimsIdentity(SecurityToken securityToken, string issuer);
}
}