Interface IExtensionGrantValidator
- Namespace
- Duende.IdentityServer.Validation
- Assembly
- Duende.IdentityServer.dll
Handles validation of token requests using custom grant types
public interface IExtensionGrantValidator
Properties
GrantType
Returns the grant type this validator can deal with
string GrantType { get; }
Property Value
- string
The type of the grant.
Methods
ValidateAsync(ExtensionGrantValidationContext)
Validates the custom grant request.
Task ValidateAsync(ExtensionGrantValidationContext context)
Parameters
context
ExtensionGrantValidationContextThe context.
Returns
- Task
A principal