Zum Inhalt springen
Abblix
Diese Seite wurde noch nicht übersetzt.

ScopeValidator Class

Validates the scopes requested in a device authorization request.

C#
public class ScopeValidator : Abblix.Oidc.Server.Endpoints.DeviceAuthorization.Validation.IDeviceAuthorizationContextValidator

Inheritance System.Object → ScopeValidator

Implements IDeviceAuthorizationContextValidator

Constructors

ScopeValidator(IScopeManager) Constructor

Validates the scopes requested in a device authorization request.

C#
public ScopeValidator(Abblix.Oidc.Server.Features.ScopeManagement.IScopeManager scopeManager);

Parameters

scopeManager IScopeManager

The service for managing and validating scopes.

Methods

ScopeValidator.ValidateAsync(DeviceAuthorizationValidationContext) Method

Validates the device authorization request context.

C#
public System.Threading.Tasks.Task<Abblix.Oidc.Server.Common.OidcError?> ValidateAsync(Abblix.Oidc.Server.Endpoints.DeviceAuthorization.Validation.DeviceAuthorizationValidationContext context);

Parameters

context DeviceAuthorizationValidationContext

The validation context containing the request and client information.

Implements ValidateAsync(DeviceAuthorizationValidationContext)

Returns

System.Threading.Tasks.Task<OidcError>
An OIDC error if validation fails, or null if validation succeeds.