AuthorizationValidationContext Class
Abblix.Oidc.Server
Abblix.Oidc.Server.Endpoints.Authorization.Validation
AuthorizationValidationContext Class
Encapsulates the context necessary for validating an authorization request, including client details, response modes, and the OAuth 2.0 flow type.
public record AuthorizationValidationContext : System.IEquatable<Abblix.Oidc.Server.Endpoints.Authorization.Validation.AuthorizationValidationContext>
Inheritance System.Object → AuthorizationValidationContext
Implements System.IEquatable<AuthorizationValidationContext>
Constructors
AuthorizationValidationContext(AuthorizationRequest) Constructor
Encapsulates the context necessary for validating an authorization request, including client details, response modes, and the OAuth 2.0 flow type.
public AuthorizationValidationContext(Abblix.Oidc.Server.Model.AuthorizationRequest Request);
Parameters
Request AuthorizationRequest
Properties
AuthorizationValidationContext.AuthorizationDetails Property
The RFC 9396 Rich Authorization Requests array after per-type and per-client validation by
IAuthorizationDetailsPolicy, stored as the
raw System.Text.Json.Nodes.JsonArray so byte-exact content survives forward to the grant.
null when the request did not include authorization_details.
public System.Text.Json.Nodes.JsonArray? AuthorizationDetails { get; set; }
Property Value
System.Text.Json.Nodes.JsonArray
AuthorizationValidationContext.ClientInfo Property
Provides details about the client making the authorization request. This includes identifying information such as client ID and any other relevant data that has been registered with the authorization server.
public Abblix.Oidc.Server.Features.ClientInformation.ClientInfo ClientInfo { get; set; }
Property Value
Exceptions
System.InvalidOperationException
Thrown when trying to access this property before it is set.
AuthorizationValidationContext.FlowType Property
Identifies the OAuth 2.0 flow used in the authorization request, such as Authorization Code or Implicit.
public Abblix.Oidc.Server.Common.Constants.FlowTypes FlowType { get; set; }
Property Value
Exceptions
System.InvalidOperationException
Thrown when trying to access this property before it is set.
AuthorizationValidationContext.Request Property
The authorization request to be validated. This includes all the details provided by the client for the authorization process.
public Abblix.Oidc.Server.Model.AuthorizationRequest Request { get; set; }
Property Value
AuthorizationValidationContext.Resources Property
A collection of resource definitions that may be requested as part of the authorization process, providing additional control over the accessible resources.
public Abblix.Oidc.Server.Common.Constants.ResourceDefinition[] Resources { get; set; }
Property Value
AuthorizationValidationContext.ResponseMode Property
Specifies how the authorization response should be delivered to the client, e.g., via a direct query or fragment.
public string ResponseMode { get; set; }
Property Value
AuthorizationValidationContext.Scope Property
A collection of scope definitions applicable to the authorization request, determining the permissions granted.
public Abblix.Oidc.Server.Common.Constants.ScopeDefinition[] Scope { get; set; }
Property Value
AuthorizationValidationContext.ValidRedirectUri Property
The redirect URI where the response to the authorization request should be sent. This URI must be one of the registered URIs for the client to ensure security.
public System.Uri? ValidRedirectUri { get; set; }