Перейти к содержимому
Abblix
Эта страница ещё не переведена.

ClientDeliveredResponse Class

Base for the authorization responses that are delivered to the client's redirect_uri (SuccessfullyAuthenticated and AuthorizationError), as opposed to the interaction responses (LoginRequired, ConsentRequired, …) that redirect to the authorization server's own UI. These are the responses the IAuthorizationResponseEncoder encodes: it sets the iss (RFC 9207) value, and for a JARM (*.jwt) request packs the parameters into ResponseJwt and resolves ResponseMode to its plaintext delivery counterpart.

C#
public abstract record ClientDeliveredResponse : Abblix.Oidc.Server.Endpoints.Authorization.Interfaces.AuthorizationResponse, System.IEquatable<Abblix.Oidc.Server.Endpoints.Authorization.Interfaces.ClientDeliveredResponse>

Inheritance System.ObjectAuthorizationResponse → ClientDeliveredResponse

Derived
AuthorizationError
SuccessfullyAuthenticated

Implements System.IEquatable<ClientDeliveredResponse>

Properties

ClientDeliveredResponse.Issuer Property

The iss (RFC 9207) value to return on the response, populated by the response encoder when the server advertises it. null when issuer identification is not emitted.

C#
public string? Issuer { get; set; }

Property Value

System.String

ClientDeliveredResponse.ResponseJwt Property

The JARM (JWT Secured Authorization Response Mode) response JWT, populated by the response encoder when the client requested a *.jwt response mode. When set, it is the sole wire parameter and all other response parameters are carried as its claims. null for plaintext response modes.

C#
public string? ResponseJwt { get; set; }

Property Value

System.String

ClientDeliveredResponse.ResponseMode Property

Specifies how the result is returned to the client. Carries the requested mode (including a JARM *.jwt mode) until the response encoder resolves it to the plaintext delivery mode. Settable so the encoder can update it in place after packing the JWT.

C#
public string ResponseMode { get; set; }

Property Value

System.String