Early Preview

This is currently very much a preview. Please feel free to try things out, but don't be upset if anything is not yet working. Feedback is welcome over on our GitHub Dicussions page.

class Duende.​IdentityModel.​Client.​PushedAuthorizationResponse

Assembly: Duende.IdentityModel

Inheritance: object → ProtocolResponse → PushedAuthorizationResponse

Implemented Interfaces

Models the response from a Pushed Authorization Request

Properties

public int?
ExpiresIn
A JSON number that represents the lifetime of the request URI in seconds as a positive integer. The request URI lifetime is at the discretion of the authorization server but will typically be relatively short (e.g., between 5 and 600 seconds).
public string
RequestUri
The request URI corresponding to the authorization request posted. This URI is a single-use reference to the respective request data in the subsequent authorization request. The way the authorization process obtains the authorization request data is at the discretion of the authorization server and is out of scope of this specification. There is no need to make the authorization request data available to other parties via this URI.
Gets the HTTP response.
public string
Raw
Gets the raw protocol response (if present).
Gets the protocol response as JSON (if present).
Exception
Gets the exception (if present).
public bool
IsError
Gets a value indicating whether an error occurred.
ErrorType
Gets the type of the error.
protected string
ErrorMessage
Gets or sets an explicit error message.
HttpStatusCode
Gets the HTTP status code - or <c>0</c> when <see cref="P:Duende.IdentityModel.Client.ProtocolResponse.HttpResponse" /> is <see langword="null" /> .
public string
HttpErrorReason
Gets the HTTP error reason - or <see langword="null" /> when <see cref="P:Duende.IdentityModel.Client.ProtocolResponse.HttpResponse" /> is <see langword="null" /> .
public string
Error
Gets the error.
public string
DPoPNonce
The returned DPoP nonce header.

Methods

InitializeAsync​(object initializationData = null)
Inherited from ProtocolResponse
Allows to initialize instance specific data.
initializationData The initialization data.
public string
TryGet​(string name)
Inherited from ProtocolResponse
Tries to get a specific value from the JSON response.
name The name.
public void
Dispose​()
Inherited from ProtocolResponse
Dispose.
public bool
Equals​(object obj)
Inherited from object
protected void
Finalize​()
Inherited from object
public int
GetHashCode​()
Inherited from object
GetType​()
Inherited from object
protected object
MemberwiseClone​()
Inherited from object
public string
ToString​()
Inherited from object