TokenReader Delegate

Definition

Reads the security token.

public delegate Microsoft.IdentityModel.Tokens.SecurityToken TokenReader(string token, TokenValidationParameters validationParameters);
type TokenReader = delegate of string * TokenValidationParameters -> SecurityToken
Public Delegate Function TokenReader(token As String, validationParameters As TokenValidationParameters) As SecurityToken 

Parameters

token
String

The security token.

validationParameters
TokenValidationParameters

The TokenValidationParameters to be used for validating the token.

Return Value

The read SecurityToken.

Applies to