Early Preview

This is currently very much a preview. Please feel free to try things out, but don't be upset if anything is not yet working. Feedback is welcome over on our GitHub Dicussions page.

interface Microsoft.​IdentityModel.​Tokens.​ISecurityTokenValidator

Assembly: Microsoft.IdentityModel.Tokens

ISecurityTokenValidator

Properties

bool
CanValidateToken
Returns true if a token can be validated.
int
MaximumTokenSizeInBytes
Gets and sets the maximum size in bytes, that a will be processed.

Methods

bool
CanReadToken​(string securityToken)
Returns true if the token can be read, false otherwise.
ValidateToken​(string securityToken, TokenValidationParameters validationParameters, SecurityToken& validatedToken)