Skip to main content

BackChannelAuthenticationValidationContext Class

Abblix.Oidc.Server

Abblix.Oidc.Server.Endpoints.BackChannelAuthentication.Validation

BackChannelAuthenticationValidationContext Class

Represents the context for validating a backchannel authentication request. This context encapsulates the details of the authentication request, allowing validators to perform the necessary checks and validations according to the backchannel authentication flow.

public record BackChannelAuthenticationValidationContext : System.IEquatable<Abblix.Oidc.Server.Endpoints.BackChannelAuthentication.Validation.BackChannelAuthenticationValidationContext>

Inheritance System.Object → BackChannelAuthenticationValidationContext

Implements System.IEquatable<BackChannelAuthenticationValidationContext>

Constructors

BackChannelAuthenticationValidationContext(BackChannelAuthenticationRequest, ClientRequest) Constructor

Represents the context for validating a backchannel authentication request. This context encapsulates the details of the authentication request, allowing validators to perform the necessary checks and validations according to the backchannel authentication flow.

public BackChannelAuthenticationValidationContext(Abblix.Oidc.Server.Model.BackChannelAuthenticationRequest Request, Abblix.Oidc.Server.Model.ClientRequest ClientRequest);

Parameters

Request BackChannelAuthenticationRequest

The backchannel authentication request that is being validated. This request contains all the parameters and data needed for the validation process.

ClientRequest ClientRequest

The client request associated with the backchannel authentication request. This contains the details of the client making the request, such as client credentials and other relevant information.

Properties

BackChannelAuthenticationValidationContext.AuthorizationDetails Property

RFC 9396 §3 Rich Authorization Requests array, populated after per-client allowlist and per-type validator dispatch by BackChannelAuthorizationDetailsValidator. The raw System.Text.Json.Nodes.JsonArray survives forward to the grant unchanged. 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

BackChannelAuthenticationValidationContext.ClientInfo Property

Provides information about the client associated with the backchannel authentication request. This includes the client's identity, credentials, and any attributes relevant to the authentication process.

public Abblix.Oidc.Server.Features.ClientInformation.ClientInfo ClientInfo { get; set; }

Property Value

ClientInfo

Exceptions

System.InvalidOperationException
Thrown when attempting to access this property before it has been assigned a value.

BackChannelAuthenticationValidationContext.ClientRequest Property

The client request associated with the backchannel authentication request. This contains the details of the client making the request, such as client credentials and other relevant information.

public Abblix.Oidc.Server.Model.ClientRequest ClientRequest { get; init; }

Property Value

ClientRequest

BackChannelAuthenticationValidationContext.ExpiresIn Property

Specifies the expiration time for the backchannel authentication request. This value indicates how long the request is valid before it expires.

public System.TimeSpan ExpiresIn { get; set; }

Property Value

System.TimeSpan

BackChannelAuthenticationValidationContext.IdToken Property

Represents the ID token associated with the request, typically used to validate the identity of the user. This token is issued by the authorization server and can be used for user authentication or as a reference during token validation.

public Abblix.Jwt.JsonWebToken? IdToken { get; set; }

Property Value

JsonWebToken

BackChannelAuthenticationValidationContext.LoginHintToken Property

Represents the login hint token, which is an optional token used to provide hints about the user's identity to streamline the authentication process. It may contain pre-validated information, such as a subject identifier.

public Abblix.Jwt.JsonWebToken? LoginHintToken { get; set; }

Property Value

JsonWebToken

BackChannelAuthenticationValidationContext.Request Property

The backchannel authentication request that is being validated. This request contains all the parameters and data needed for the validation process.

public Abblix.Oidc.Server.Model.BackChannelAuthenticationRequest Request { get; init; }

Property Value

BackChannelAuthenticationRequest

BackChannelAuthenticationValidationContext.Resources Property

A collection of resource definitions requested as part of the authorization process. These resources specify the URIs that the client is requesting access to, enhancing the granularity of resource-level authorization.

public Abblix.Oidc.Server.Common.Constants.ResourceDefinition[] Resources { get; set; }

Property Value

ResourceDefinition[]

BackChannelAuthenticationValidationContext.Scope Property

Represents the collection of scope definitions applicable to the authorization request. These scopes define the permissions and access levels that the client is requesting from the authorization server.

public Abblix.Oidc.Server.Common.Constants.ScopeDefinition[] Scope { get; set; }

Property Value

ScopeDefinition[]