Class OpenIddictServerHandlers.Authentication.ValidateClientType
Contains the logic responsible of rejecting authorization requests that use a response_type containing token if the application is a confidential client. Note: this handler is not used when the degraded mode is enabled or when response type permissions enforcement is not disabled.
Inheritance
System.Object
OpenIddictServerHandlers.Authentication.ValidateClientType
Implements
IOpenIddictServerHandler<ValidateAuthorizationRequestContext>
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 ValidateClientType : IOpenIddictServerHandler<ValidateAuthorizationRequestContext>
Constructors
ValidateClientType()
Declaration
public ValidateClientType()
ValidateClientType(IOpenIddictApplicationManager)
Declaration
public ValidateClientType(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 |
Methods
HandleAsync(ValidateAuthorizationRequestContext)
Processes the event.
Declaration
public ValueTask HandleAsync(ValidateAuthorizationRequestContext context)
Parameters
Type | Name | Description |
---|---|---|
ValidateAuthorizationRequestContext | context |
Returns
Type | Description |
---|---|
ValueTask | A |