Class OpenIddictServerHandlers.ValidateClientSecret
Contains the logic responsible of rejecting token requests specifying an invalid client secret. Note: this handler is not used when the degraded mode is enabled.
Inheritance
System.Object
OpenIddictServerHandlers.ValidateClientSecret
Implements
IOpenIddictServerHandler<ValidateTokenRequestContext>
IOpenIddictServerHandler<ValidateDeviceRequestContext>
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 ValidateClientSecret : IOpenIddictServerHandler<ValidateTokenRequestContext>, IOpenIddictServerHandler<ValidateDeviceRequestContext>
Constructors
ValidateClientSecret()
Declaration
public ValidateClientSecret()
ValidateClientSecret()
Declaration
public ValidateClientSecret()
ValidateClientSecret(IOpenIddictApplicationManager)
Declaration
public ValidateClientSecret(IOpenIddictApplicationManager applicationManager)
Parameters
Type | Name | Description |
---|---|---|
IOpenIddictApplicationManager | applicationManager |
ValidateClientSecret(IOpenIddictApplicationManager)
Declaration
public ValidateClientSecret(IOpenIddictApplicationManager applicationManager)
Parameters
Type | Name | Description |
---|---|---|
IOpenIddictApplicationManager | applicationManager |
Properties
Descriptor
Gets the default descriptor definition assigned to this handler.
Declaration
public static OpenIddictServerHandlerDescriptor Descriptor { get; }
Property Value
Type | Description |
---|---|
OpenIddictServerHandlerDescriptor |
Descriptor
Gets the default descriptor definition assigned to this handler.
Declaration
public static OpenIddictServerHandlerDescriptor Descriptor { get; }
Property Value
Type | Description |
---|---|
OpenIddictServerHandlerDescriptor |
Methods
HandleAsync(ValidateDeviceRequestContext)
Processes the event.
Declaration
public ValueTask HandleAsync(ValidateDeviceRequestContext context)
Parameters
Type | Name | Description |
---|---|---|
ValidateDeviceRequestContext | context |
Returns
Type | Description |
---|---|
ValueTask | A |
HandleAsync(ValidateTokenRequestContext)
Processes the event.
Declaration
public ValueTask HandleAsync(ValidateTokenRequestContext context)
Parameters
Type | Name | Description |
---|---|---|
ValidateTokenRequestContext | context |
Returns
Type | Description |
---|---|
ValueTask | A |