Share via


Validators Class

Definition

Partial class for Audience Validation.

public static class Validators
type Validators = class
Public Class Validators
Inheritance
Validators

Methods

ValidateAlgorithm(String, SecurityKey, SecurityToken, TokenValidationParameters)

Validates if a given algorithm for a SecurityKey is valid.

ValidateAudience(IEnumerable<String>, SecurityToken, TokenValidationParameters)

Determines if the audiences found in a SecurityToken are valid.

ValidateIssuer(String, SecurityToken, TokenValidationParameters)

Determines if an issuer found in a SecurityToken is valid.

ValidateIssuerSecurityKey(SecurityKey, SecurityToken, TokenValidationParameters)

Validates the SecurityKey that signed a SecurityToken.

ValidateLifetime(Nullable<DateTime>, Nullable<DateTime>, SecurityToken, TokenValidationParameters)

Validates the lifetime of a SecurityToken.

ValidateTokenReplay(Nullable<DateTime>, String, TokenValidationParameters)

Validates if a token has been replayed.

ValidateTokenReplay(String, Nullable<DateTime>, TokenValidationParameters)

Validates if a token has been replayed.

ValidateTokenType(String, SecurityToken, TokenValidationParameters)

Validates the type of the token.

Applies to