Class OpenIddictServerHandlers.RejectDeviceCodeEntry
Contains the logic responsible of rejecting the device code entry associated with the user code. Note: this handler is not used when the degraded mode is enabled.
Inheritance
System.Object
OpenIddictServerHandlers.RejectDeviceCodeEntry
Implements
IOpenIddictServerHandler<ProcessChallengeContext>
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 RejectDeviceCodeEntry : IOpenIddictServerHandler<ProcessChallengeContext>
Constructors
RejectDeviceCodeEntry()
Declaration
public RejectDeviceCodeEntry()
RejectDeviceCodeEntry(IOpenIddictTokenManager)
Declaration
public RejectDeviceCodeEntry(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(ProcessChallengeContext)
Processes the event.
Declaration
public ValueTask HandleAsync(ProcessChallengeContext context)
Parameters
Type | Name | Description |
---|---|---|
ProcessChallengeContext | context |
Returns
Type | Description |
---|---|
ValueTask | A |