Aller au contenu
Abblix
Cette page n'a pas encore été traduite.

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.

C#
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.

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

Parameters

scopeManager IScopeManager

The scope manager used to validate scopes.