#### [Abblix\.Oidc\.Server](https://www.abblix.com/en/docs/api/abblix-oidc-server 'index')
### [Abblix\.Oidc\.Server\.Endpoints\.Authorization\.Validation](https://www.abblix.com/en/docs/api/abblix-oidc-server/Abblix.Oidc.Server.Endpoints.Authorization.Validation '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\.

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

Inheritance [System\.Object](https://learn.microsoft.com/en-us/dotnet/api/system.object 'System\.Object') → [SyncAuthorizationContextValidatorBase](https://www.abblix.com/en/docs/api/abblix-oidc-server/Abblix.Oidc.Server.Endpoints.Authorization.Validation.SyncAuthorizationContextValidatorBase 'Abblix\.Oidc\.Server\.Endpoints\.Authorization\.Validation\.SyncAuthorizationContextValidatorBase') → ScopeValidator
### Constructors

## ScopeValidator\(IScopeManager\) Constructor {#Abblix.Oidc.Server.Endpoints.Authorization.Validation.ScopeValidator.ScopeValidator(Abblix.Oidc.Server.Features.ScopeManagement.IScopeManager)}

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\.

```csharp
public ScopeValidator(Abblix.Oidc.Server.Features.ScopeManagement.IScopeManager scopeManager);
```
#### Parameters

###### `scopeManager` [IScopeManager](https://www.abblix.com/en/docs/api/abblix-oidc-server/Abblix.Oidc.Server.Features.ScopeManagement.IScopeManager 'Abblix\.Oidc\.Server\.Features\.ScopeManagement\.IScopeManager') {#Abblix.Oidc.Server.Endpoints.Authorization.Validation.ScopeValidator.ScopeValidator(Abblix.Oidc.Server.Features.ScopeManagement.IScopeManager).scopeManager}

The scope manager used to validate scopes\.
