AudienceValidator 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.
Validates the audiences found in the security token.
public delegate bool AudienceValidator(IEnumerable<string> audiences, SecurityToken securityToken, TokenValidationParameters validationParameters);
type AudienceValidator = delegate of seq<string> * SecurityToken * TokenValidationParameters -> bool
Public Delegate Function AudienceValidator(audiences As IEnumerable(Of String), securityToken As SecurityToken, validationParameters As TokenValidationParameters) As Boolean
Parameters
- audiences
- IEnumerable<String>
The audiences found in the SecurityToken.
- securityToken
- SecurityToken
The SecurityToken being validated.
- validationParameters
- TokenValidationParameters
The TokenValidationParameters to be used for validating the token.
Return Value
true
if the audience is valid; otherwise, false
.