Class OpenIddictServerHandlers.ValidateScopePermissions
Contains the logic responsible of rejecting authorization requests made by unauthorized applications. Note: this handler is not used when the degraded mode is enabled or when scope permissions are disabled.
Inheritance
System.Object
OpenIddictServerHandlers.ValidateScopePermissions
Implements
IOpenIddictServerHandler<ValidateAuthorizationRequestContext>
IOpenIddictServerHandler<ValidateDeviceRequestContext>
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 ValidateScopePermissions : IOpenIddictServerHandler<ValidateAuthorizationRequestContext>, IOpenIddictServerHandler<ValidateDeviceRequestContext>, IOpenIddictServerHandler<ValidateTokenRequestContext>
Constructors
ValidateScopePermissions()
Declaration
public ValidateScopePermissions()
ValidateScopePermissions()
Declaration
public ValidateScopePermissions()
ValidateScopePermissions()
Declaration
public ValidateScopePermissions()
ValidateScopePermissions(IOpenIddictApplicationManager)
Declaration
public ValidateScopePermissions(IOpenIddictApplicationManager applicationManager)
Parameters
| Type | Name | Description |
|---|---|---|
| IOpenIddictApplicationManager | applicationManager |
ValidateScopePermissions(IOpenIddictApplicationManager)
Declaration
public ValidateScopePermissions(IOpenIddictApplicationManager applicationManager)
Parameters
| Type | Name | Description |
|---|---|---|
| IOpenIddictApplicationManager | applicationManager |
ValidateScopePermissions(IOpenIddictApplicationManager)
Declaration
public ValidateScopePermissions(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 |
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 |
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 |