Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

ISecurityTokenValidator Interface

Definition

Namespace:
Microsoft.IdentityModel.Tokens
Assembly:
Microsoft.IdentityModel.Tokens.dll
Package:
Microsoft.IdentityModel.Tokens v8.17.0

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

ISecurityTokenValidator

public interface ISecurityTokenValidator
type ISecurityTokenValidator = interface
Public Interface ISecurityTokenValidator
Derived

Properties

Name Description
CanValidateToken

Returns true if a token can be validated.

MaximumTokenSizeInBytes

Gets and sets the maximum size in bytes, that a will be processed.

Methods

Name Description
CanReadToken(String)

Returns true if the token can be read, false otherwise.

ValidateToken(String, TokenValidationParameters, SecurityToken)

Validates a token passed as a string using TokenValidationParameters

Applies to


Feedback

Was this page helpful?