Table of Contents

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

error string
errorDescription string

Properties

AuthenticationRequestId

The auth_req_id the client polls with.

public string? AuthenticationRequestId { get; set; }

Property Value

string

Custom

Further members for the response, as a host's generator adds them.

public Dictionary<string, object> Custom { get; set; }

Property Value

Dictionary<string, object>

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

string

ErrorDescription

A human-readable explanation sent as error_description, when there is one.

public string? ErrorDescription { get; set; }

Property Value

string

ExpiresIn

How long the request stays answerable, in seconds.

public int ExpiresIn { get; set; }

Property Value

int

Interval

How long the client waits between polls, in seconds.

public int Interval { get; set; }

Property Value

int

IsError

Whether the request was refused: true when Error is set.

public bool IsError { get; }

Property Value

bool