#### [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')

## RedirectUriValidator Class

Validates the redirect URI specified in the authorization request\.
This class checks whether the provided redirect URI matches one of the client's registered redirect URIs,
as part of the authorization validation process\. It is essential for ensuring that redirections
only occur to pre\-approved locations, enhancing security in the OAuth 2\.0 flow\.

```csharp
public class RedirectUriValidator : 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') → RedirectUriValidator
### Constructors

## RedirectUriValidator\(ILogger\<RedirectUriValidator\>\) Constructor {#Abblix.Oidc.Server.Endpoints.Authorization.Validation.RedirectUriValidator.RedirectUriValidator(Microsoft.Extensions.Logging.ILogger_Abblix.Oidc.Server.Endpoints.Authorization.Validation.RedirectUriValidator_)}

Validates the redirect URI specified in the authorization request\.
This class checks whether the provided redirect URI matches one of the client's registered redirect URIs,
as part of the authorization validation process\. It is essential for ensuring that redirections
only occur to pre\-approved locations, enhancing security in the OAuth 2\.0 flow\.

```csharp
public RedirectUriValidator(Microsoft.Extensions.Logging.ILogger<Abblix.Oidc.Server.Endpoints.Authorization.Validation.RedirectUriValidator> logger);
```
#### Parameters

###### `logger` [Microsoft\.Extensions\.Logging\.ILogger&lt;](https://learn.microsoft.com/en-us/dotnet/api/microsoft.extensions.logging.ilogger-1 'Microsoft\.Extensions\.Logging\.ILogger\`1')[RedirectUriValidator](https://www.abblix.com/en/docs/api/abblix-oidc-server/Abblix.Oidc.Server.Endpoints.Authorization.Validation.RedirectUriValidator 'Abblix\.Oidc\.Server\.Endpoints\.Authorization\.Validation\.RedirectUriValidator')[&gt;](https://learn.microsoft.com/en-us/dotnet/api/microsoft.extensions.logging.ilogger-1 'Microsoft\.Extensions\.Logging\.ILogger\`1') {#Abblix.Oidc.Server.Endpoints.Authorization.Validation.RedirectUriValidator.RedirectUriValidator(Microsoft.Extensions.Logging.ILogger_Abblix.Oidc.Server.Endpoints.Authorization.Validation.RedirectUriValidator_).logger}

The logger to be used for logging validation process and outcomes\.
