TokenValidationParameters Class

Contains a set of parameters that are used by SecurityTokenHandler when validating a SecurityToken.

System.Object
  System.IdentityModel.Tokens.TokenValidationParameters

Namespace:  System.IdentityModel.Tokens
Assembly:  System.IdentityModel.Tokens.Jwt (in System.IdentityModel.Tokens.Jwt.dll)

public class TokenValidationParameters

The TokenValidationParameters type exposes the following members.

  NameDescription
Public methodTokenValidationParametersCreates a new TokenValidationParameters with AudienceUriMode = BearerKeyOnly and SaveBootstrapContext = false.
Top

  NameDescription
Public propertyAllowedAudienceGets or sets an audience that is considered valid.
Public propertyAllowedAudiencesGets or sets a collection of audiences that are considered valid.
Public propertyAudienceUriModeGets or sets the AudienceUriMode to use when validating audience values.
Public propertySaveBootstrapContextGets or sets a value indicating whether JwtSecurityToken should be attached to BootstrapContext during validation.
Public propertySigningTokenGets or sets a SecurityToken to use when validating signatures.
Public propertySigningTokensGets or sets a collection of SecurityToken to use when validating signatures.
Public propertyValidateIssuerGets or sets a value indicating whether the Issuer should be validated.
Public propertyValidIssuerGets or sets an issuer that is considered valid.
Public propertyValidIssuersGets or sets a collection of issuers that is considered valid.
Top

  NameDescription
Public methodEqualsDetermines whether the specified object is equal to the current object. (Inherited from Object.)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public methodGetHashCodeServes as the default hash function. (Inherited from Object.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)
Top

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Show: