IssuerSigningKeyResolverUsingConfiguration 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.
Resolves the signing key using additional configuration.
public delegate System.Collections.Generic.IEnumerable<Microsoft.IdentityModel.Tokens.SecurityKey> IssuerSigningKeyResolverUsingConfiguration(string token, SecurityToken securityToken, string kid, TokenValidationParameters validationParameters, BaseConfiguration configuration);
type IssuerSigningKeyResolverUsingConfiguration = delegate of string * SecurityToken * string * TokenValidationParameters * BaseConfiguration -> seq<SecurityKey>
Public Delegate Function IssuerSigningKeyResolverUsingConfiguration(token As String, securityToken As SecurityToken, kid As String, validationParameters As TokenValidationParameters, configuration As BaseConfiguration) As IEnumerable(Of SecurityKey)
Parameters
- token
- String
The string representation of the token being validated.
- securityToken
- SecurityToken
The SecurityToken being validated, which may be null.
- kid
- String
The key identifier, which may be null.
- validationParameters
- TokenValidationParameters
The TokenValidationParameters to be used for validating the token.
- configuration
- BaseConfiguration
The configuration required for validation.
Return Value
The SecurityKey used to validate the signature.
Remarks
If both IssuerSigningKeyResolverUsingConfiguration and IssuerSigningKeyResolver are set, IssuerSigningKeyResolverUsingConfiguration takes priority.