Skip to main content

ScopeValidator Class

Abblix.Oidc.Server

Abblix.Oidc.Server.Endpoints.Token.Validation

ScopeValidator Class

Validates the scopes specified in token requests using a scope manager to ensure their validity and availability. This validator checks whether each requested scope is recognized and authorized for use, ensuring that clients only receive permissions appropriate to their needs and in compliance with server policies.

public class ScopeValidator : Abblix.Oidc.Server.Endpoints.Token.Validation.SyncTokenContextValidatorBase

Inheritance System.ObjectSyncTokenContextValidatorBase → ScopeValidator

Constructors

ScopeValidator(IScopeManager) Constructor

Validates the scopes specified in token requests using a scope manager to ensure their validity and availability. This validator checks whether each requested scope is recognized and authorized for use, ensuring that clients only receive permissions appropriate to their needs and in compliance with server policies.

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

Parameters

scopeManager IScopeManager

The manager responsible for maintaining and validating scope definitions.