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

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

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

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

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

```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.Token.Validation.ScopeValidator.ScopeValidator(Abblix.Oidc.Server.Features.ScopeManagement.IScopeManager).scopeManager}

The manager responsible for maintaining and validating scope definitions\.
