Skip to main content

AuthorizationResponse Class

Abblix.Oidc.Server

Abblix.Oidc.Server.Model

AuthorizationResponse Class

The authorization response delivered to the client's redirect URI (via query, fragment or form_post), carrying either the success parameters (code/tokens) or the error, or — under JARM — the single packed response JWT. This is the framework-neutral wire projection both transport adapters serialize. It is distinct from the domain result AuthorizationResponse (the abstract pipeline outcome): the formatter flattens that domain result onto this wire shape.

public record AuthorizationResponse : System.IEquatable<Abblix.Oidc.Server.Model.AuthorizationResponse>

Inheritance System.Object → AuthorizationResponse

Implements System.IEquatable<AuthorizationResponse>

Properties

AuthorizationResponse.AccessToken Property

The access token issued from the authorization endpoint (implicit/hybrid).

public string? AccessToken { get; set; }

Property Value

System.String

AuthorizationResponse.Code Property

The authorization code to exchange at the token endpoint.

public string? Code { get; set; }

Property Value

System.String

AuthorizationResponse.Error Property

The error code when the authorization request failed.

public string? Error { get; init; }

Property Value

System.String

AuthorizationResponse.ErrorDescription Property

A human-readable explanation of the error.

public string? ErrorDescription { get; init; }

Property Value

System.String

AuthorizationResponse.ErrorUri Property

A URI with more information about the error.

public System.Uri? ErrorUri { get; init; }

Property Value

System.Uri

AuthorizationResponse.ExpiresIn Property

The access token lifetime in seconds.

public System.Nullable<System.TimeSpan> ExpiresIn { get; set; }

Property Value

System.Nullable<System.TimeSpan>

AuthorizationResponse.IdToken Property

The ID token (OpenID Connect flows).

public string? IdToken { get; set; }

Property Value

System.String

AuthorizationResponse.Issuer Property

The issuer of the response (RFC 9207).

public string? Issuer { get; set; }

Property Value

System.String

AuthorizationResponse.Response Property

The JARM response JWT — when set, it is the sole wire parameter (RFC 9101 / JARM).

public string? Response { get; set; }

Property Value

System.String

AuthorizationResponse.Scope Property

The granted scope.

public string? Scope { get; set; }

Property Value

System.String

AuthorizationResponse.SessionState Property

The OpenID Connect Session Management session state.

public string? SessionState { get; set; }

Property Value

System.String

AuthorizationResponse.State Property

The client's state, returned unaltered.

public string? State { get; init; }

Property Value

System.String

AuthorizationResponse.TokenType Property

The token type (typically Bearer) when an access token is delivered.

public string? TokenType { get; init; }

Property Value

System.String