#### [Abblix\.Oidc\.Server](https://www.abblix.com/en/docs/api/abblix-oidc-server 'index')
### [Abblix\.Oidc\.Server\.Endpoints\.Authorization\.Interfaces](https://www.abblix.com/en/docs/api/abblix-oidc-server/Abblix.Oidc.Server.Endpoints.Authorization.Interfaces 'Abblix\.Oidc\.Server\.Endpoints\.Authorization\.Interfaces')

## AuthorizationRequestValidationError Class

Represents a specific type of validation result for an authorization request that has been deemed invalid\.
This record details the nature of the validation failure through an error code and description, providing
insights into why the request did not pass validation checks\. It also includes the redirect URI to guide
the client on where to direct the user for further actions if necessary\.

```csharp
public record AuthorizationRequestValidationError : Abblix.Oidc.Server.Common.OidcError, System.IEquatable<Abblix.Oidc.Server.Endpoints.Authorization.Interfaces.AuthorizationRequestValidationError>
```

Inheritance [System\.Object](https://learn.microsoft.com/en-us/dotnet/api/system.object 'System\.Object') → [OidcError](https://www.abblix.com/en/docs/api/abblix-oidc-server/Abblix.Oidc.Server.Common.OidcError 'Abblix\.Oidc\.Server\.Common\.OidcError') → AuthorizationRequestValidationError

Implements [System\.IEquatable&lt;](https://learn.microsoft.com/en-us/dotnet/api/system.iequatable-1 'System\.IEquatable\`1')[AuthorizationRequestValidationError](https://www.abblix.com/en/docs/api/abblix-oidc-server/Abblix.Oidc.Server.Endpoints.Authorization.Interfaces.AuthorizationRequestValidationError 'Abblix\.Oidc\.Server\.Endpoints\.Authorization\.Interfaces\.AuthorizationRequestValidationError')[&gt;](https://learn.microsoft.com/en-us/dotnet/api/system.iequatable-1 'System\.IEquatable\`1')

### Remarks
This is the validator\-stage error type, returned by [IAuthorizationRequestValidator](https://www.abblix.com/en/docs/api/abblix-oidc-server/Abblix.Oidc.Server.Endpoints.Authorization.Interfaces.IAuthorizationRequestValidator 'Abblix\.Oidc\.Server\.Endpoints\.Authorization\.Interfaces\.IAuthorizationRequestValidator') in the
failure leg of [Abblix\.Utils\.Result&lt;&gt;](https://learn.microsoft.com/en-us/dotnet/api/abblix.utils.result-2 'Abblix\.Utils\.Result\`2')\. The handler/processor stage wraps it
into [AuthorizationError](https://www.abblix.com/en/docs/api/abblix-oidc-server/Abblix.Oidc.Server.Endpoints.Authorization.Interfaces.AuthorizationError 'Abblix\.Oidc\.Server\.Endpoints\.Authorization\.Interfaces\.AuthorizationError'), which adds the originating `Model` \(needed for polymorphic
dispatch through the [AuthorizationResponse](https://www.abblix.com/en/docs/api/abblix-oidc-server/Abblix.Oidc.Server.Endpoints.Authorization.Interfaces.AuthorizationResponse 'Abblix\.Oidc\.Server\.Endpoints\.Authorization\.Interfaces\.AuthorizationResponse') hierarchy\) and the optional `error_uri`\.

Two parallel error types exist because of the layered architecture: the validator pipeline operates on
the generic [Abblix\.Utils\.Result&lt;&gt;](https://learn.microsoft.com/en-us/dotnet/api/abblix.utils.result-2 'Abblix\.Utils\.Result\`2') envelope and stays free of response-level
concerns; the response hierarchy needs `Model` for state propagation. The cost is duplication of
`Error`, `ErrorDescription`, `ResponseMode`, `RedirectUri` across both types —
accepted for the architectural seam.
### Constructors

## AuthorizationRequestValidationError\(string, string, Uri, string\) Constructor {#Abblix.Oidc.Server.Endpoints.Authorization.Interfaces.AuthorizationRequestValidationError.AuthorizationRequestValidationError(string,string,System.Uri,string)}

Represents a specific type of validation result for an authorization request that has been deemed invalid\.
This record details the nature of the validation failure through an error code and description, providing
insights into why the request did not pass validation checks\. It also includes the redirect URI to guide
the client on where to direct the user for further actions if necessary\.

```csharp
public AuthorizationRequestValidationError(string Error, string ErrorDescription, System.Uri? RedirectUri, string ResponseMode);
```
#### Parameters

###### `Error` [System\.String](https://learn.microsoft.com/en-us/dotnet/api/system.string 'System\.String') {#Abblix.Oidc.Server.Endpoints.Authorization.Interfaces.AuthorizationRequestValidationError.AuthorizationRequestValidationError(string,string,System.Uri,string).Error}

###### `ErrorDescription` [System\.String](https://learn.microsoft.com/en-us/dotnet/api/system.string 'System\.String') {#Abblix.Oidc.Server.Endpoints.Authorization.Interfaces.AuthorizationRequestValidationError.AuthorizationRequestValidationError(string,string,System.Uri,string).ErrorDescription}

###### `RedirectUri` [System\.Uri](https://learn.microsoft.com/en-us/dotnet/api/system.uri 'System\.Uri') {#Abblix.Oidc.Server.Endpoints.Authorization.Interfaces.AuthorizationRequestValidationError.AuthorizationRequestValidationError(string,string,System.Uri,string).RedirectUri}

###### `ResponseMode` [System\.String](https://learn.microsoft.com/en-us/dotnet/api/system.string 'System\.String') {#Abblix.Oidc.Server.Endpoints.Authorization.Interfaces.AuthorizationRequestValidationError.AuthorizationRequestValidationError(string,string,System.Uri,string).ResponseMode}

### Remarks
This is the validator\-stage error type, returned by [IAuthorizationRequestValidator](https://www.abblix.com/en/docs/api/abblix-oidc-server/Abblix.Oidc.Server.Endpoints.Authorization.Interfaces.IAuthorizationRequestValidator 'Abblix\.Oidc\.Server\.Endpoints\.Authorization\.Interfaces\.IAuthorizationRequestValidator') in the
failure leg of [Abblix\.Utils\.Result&lt;&gt;](https://learn.microsoft.com/en-us/dotnet/api/abblix.utils.result-2 'Abblix\.Utils\.Result\`2')\. The handler/processor stage wraps it
into [AuthorizationError](https://www.abblix.com/en/docs/api/abblix-oidc-server/Abblix.Oidc.Server.Endpoints.Authorization.Interfaces.AuthorizationError 'Abblix\.Oidc\.Server\.Endpoints\.Authorization\.Interfaces\.AuthorizationError'), which adds the originating `Model` \(needed for polymorphic
dispatch through the [AuthorizationResponse](https://www.abblix.com/en/docs/api/abblix-oidc-server/Abblix.Oidc.Server.Endpoints.Authorization.Interfaces.AuthorizationResponse 'Abblix\.Oidc\.Server\.Endpoints\.Authorization\.Interfaces\.AuthorizationResponse') hierarchy\) and the optional `error_uri`\.

Two parallel error types exist because of the layered architecture: the validator pipeline operates on
the generic [Abblix\.Utils\.Result&lt;&gt;](https://learn.microsoft.com/en-us/dotnet/api/abblix.utils.result-2 'Abblix\.Utils\.Result\`2') envelope and stays free of response-level
concerns; the response hierarchy needs `Model` for state propagation. The cost is duplication of
`Error`, `ErrorDescription`, `ResponseMode`, `RedirectUri` across both types —
accepted for the architectural seam.
