Class OpenIddictServerHandlers.Revocation.RevokeToken
Contains the logic responsible of revoking the token sent by the client application. Note: this handler is not used when the degraded mode is enabled.
Inheritance
System.Object
OpenIddictServerHandlers.Revocation.RevokeToken
Implements
IOpenIddictServerHandler<HandleRevocationRequestContext>
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 RevokeToken : IOpenIddictServerHandler<HandleRevocationRequestContext>
Constructors
RevokeToken()
Declaration
public RevokeToken()
RevokeToken(IOpenIddictTokenManager)
Declaration
public RevokeToken(IOpenIddictTokenManager tokenManager)
Parameters
Type | Name | Description |
---|---|---|
IOpenIddictTokenManager | tokenManager |
Properties
Descriptor
Gets the default descriptor definition assigned to this handler.
Declaration
public static OpenIddictServerHandlerDescriptor Descriptor { get; }
Property Value
Type | Description |
---|---|
OpenIddictServerHandlerDescriptor |
Methods
HandleAsync(HandleRevocationRequestContext)
Processes the event.
Declaration
public ValueTask HandleAsync(HandleRevocationRequestContext context)
Parameters
Type | Name | Description |
---|---|---|
HandleRevocationRequestContext | context |
Returns
Type | Description |
---|---|
ValueTask | A |