Class BackchannelAuthenticationResponse
- Namespace
- Fdyay.IdentityServer.ResponseHandling
- Assembly
- Fdyay.IdentityServer.Core.dll
The answer to a backchannel authentication request (CIBA Core §7.3), or why there is none.
public class BackchannelAuthenticationResponse
- Inheritance
-
BackchannelAuthenticationResponse
- Inherited Members
Remarks
Duende 8.0.1's BackchannelAuthenticationResponse, with its two constructors.
Constructors
BackchannelAuthenticationResponse()
A successful response, its members set by the generator.
public BackchannelAuthenticationResponse()
BackchannelAuthenticationResponse(string, string?)
A request that could not be answered.
public BackchannelAuthenticationResponse(string error, string? errorDescription = null)
Parameters
Properties
AuthenticationRequestId
The auth_req_id the client polls with.
public string? AuthenticationRequestId { get; set; }
Property Value
Custom
Further members for the response, as a host's generator adds them.
public Dictionary<string, object> Custom { get; set; }
Property Value
Error
The OAuth error code the client is answered with (CIBA Core §13), such as server_error; null on success.
public string? Error { get; set; }
Property Value
ErrorDescription
A human-readable explanation sent as error_description, when there is one.
public string? ErrorDescription { get; set; }
Property Value
ExpiresIn
How long the request stays answerable, in seconds.
public int ExpiresIn { get; set; }
Property Value
Interval
How long the client waits between polls, in seconds.
public int Interval { get; set; }
Property Value
IsError
Whether the request was refused: true when Error is set.
public bool IsError { get; }