Skip to main content

ScopeValidator Class

Abblix.Oidc.Server

Abblix.Oidc.Server.Endpoints.Authorization.Validation

ScopeValidator Class

Validates the scopes specified in the OAuth 2.0 authorization request. This class checks if the requested scopes are permissible based on the client's configuration and the OAuth flow type in use. It ensures that only allowed scopes are requested, enhancing security and compliance with the defined authorization policies.

public class ScopeValidator : Abblix.Oidc.Server.Endpoints.Authorization.Validation.SyncAuthorizationContextValidatorBase

Inheritance System.ObjectSyncAuthorizationContextValidatorBase → ScopeValidator

Constructors

ScopeValidator(IScopeManager) Constructor

Validates the scopes specified in the OAuth 2.0 authorization request. This class checks if the requested scopes are permissible based on the client's configuration and the OAuth flow type in use. It ensures that only allowed scopes are requested, enhancing security and compliance with the defined authorization policies.

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

Parameters

scopeManager IScopeManager

The scope manager used to validate scopes.