Skip to main content

PushedAuthorizationResponse Class

Abblix.Oidc.Server

Abblix.Oidc.Server.Endpoints.PushedAuthorization.Interfaces

PushedAuthorizationResponse Class

Successful response from the Pushed Authorization Request endpoint (RFC 9126 §2.2): the opaque request_uri the client must echo to the authorization endpoint, and the lifetime expires_in in seconds after which the server may discard the stored request payload.

public record PushedAuthorizationResponse : Abblix.Oidc.Server.Endpoints.Authorization.Interfaces.AuthorizationResponse, System.IEquatable<Abblix.Oidc.Server.Endpoints.PushedAuthorization.Interfaces.PushedAuthorizationResponse>

Inheritance System.ObjectAuthorizationResponse → PushedAuthorizationResponse

Implements System.IEquatable<PushedAuthorizationResponse>

Constructors

PushedAuthorizationResponse(AuthorizationRequest, Uri, TimeSpan) Constructor

Successful response from the Pushed Authorization Request endpoint (RFC 9126 §2.2): the opaque request_uri the client must echo to the authorization endpoint, and the lifetime expires_in in seconds after which the server may discard the stored request payload.

public PushedAuthorizationResponse(Abblix.Oidc.Server.Model.AuthorizationRequest Model, System.Uri RequestUri, System.TimeSpan ExpiresIn);

Parameters

Model AuthorizationRequest
RequestUri System.Uri
ExpiresIn System.TimeSpan

Properties

PushedAuthorizationResponse.ExpiresIn Property

RFC 9126 §2.2 expires_in: lifetime of RequestUri; once it elapses the authorization server is free to invalidate the entry and reject any subsequent authorization request that references it.

public System.TimeSpan ExpiresIn { get; init; }

Property Value

System.TimeSpan

PushedAuthorizationResponse.RequestUri Property

RFC 9126 §2.2 request_uri: a one-time-use, server-generated reference to the stored authorization request, to be passed by the client on the redirect to the authorization endpoint instead of the parameters themselves.

public System.Uri RequestUri { get; init; }

Property Value

System.Uri