TypeValidator Delegate
Definition
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.
Definition for TypeValidator.
public delegate string TypeValidator(string type, SecurityToken securityToken, TokenValidationParameters validationParameters);
type TypeValidator = delegate of string * SecurityToken * TokenValidationParameters -> string
Public Delegate Function TypeValidator(type As String, securityToken As SecurityToken, validationParameters As TokenValidationParameters) As String
Parameters
- type
- String
The token type to validate.
- securityToken
- SecurityToken
The SecurityToken that is being validated.
- validationParameters
- TokenValidationParameters
TokenValidationParameters required for validation.
Return Value
The actual token type, that may be the same as type
or a different value if the token type was resolved from a different location.
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for