Show / Hide Table of Contents

Class OpenIddictServerHandlers.ValidateToken

Contains the logic responsible of rejecting token requests that don't specify a valid authorization code, device code or refresh token.

Inheritance
System.Object
OpenIddictServerHandlers.ValidateToken
Implements
IOpenIddictServerHandler<ValidateTokenRequestContext>
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ToString()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: OpenIddict.Server
Assembly: cs.temp.dll.dll
Syntax
public class ValidateToken : IOpenIddictServerHandler<ValidateTokenRequestContext>

Constructors

ValidateToken(IOpenIddictServerDispatcher)

Declaration
public ValidateToken(IOpenIddictServerDispatcher dispatcher)
Parameters
Type Name Description
IOpenIddictServerDispatcher dispatcher

Properties

Descriptor

Gets the default descriptor definition assigned to this handler.

Declaration
public static OpenIddictServerHandlerDescriptor Descriptor { get; }
Property Value
Type Description
OpenIddictServerHandlerDescriptor

Methods

HandleAsync(ValidateTokenRequestContext)

Processes the event.

Declaration
public ValueTask HandleAsync(ValidateTokenRequestContext context)
Parameters
Type Name Description
ValidateTokenRequestContext context
Returns
Type Description
System.Threading.Tasks.ValueTask

A System.Threading.Tasks.ValueTask that can be used to monitor the asynchronous operation.

Implements

IOpenIddictServerHandler<TContext>
In This Article
Back to top Generated by DocFX