Table of Contents

Class BackchannelAuthenticationRequestValidationResult

Namespace
Fdyay.IdentityServer.Validation
Assembly
Fdyay.IdentityServer.Core.dll

The outcome of validating a backchannel authentication request.

public sealed class BackchannelAuthenticationRequestValidationResult
Inheritance
BackchannelAuthenticationRequestValidationResult
Inherited Members

Remarks

Duende 8.0.1's BackchannelAuthenticationRequestValidationResult, measured.

Constructors

BackchannelAuthenticationRequestValidationResult(ValidatedBackchannelAuthenticationRequest)

A valid request.

public BackchannelAuthenticationRequestValidationResult(ValidatedBackchannelAuthenticationRequest validatedRequest)

Parameters

validatedRequest ValidatedBackchannelAuthenticationRequest

The validated request.

BackchannelAuthenticationRequestValidationResult(ValidatedBackchannelAuthenticationRequest, string, string?)

A refused request.

public BackchannelAuthenticationRequestValidationResult(ValidatedBackchannelAuthenticationRequest validatedRequest, string error, string? errorDescription = null)

Parameters

validatedRequest ValidatedBackchannelAuthenticationRequest

The request as far as it was validated.

error string

The OAuth error code to refuse it with (CIBA Core §13), such as invalid_request.

errorDescription string

A description of the refusal; see ErrorDescription.

Properties

Error

The OAuth error code the request was refused with; null for a valid request.

public string? Error { get; }

Property Value

string

ErrorDescription

A description of the refusal.

public string? ErrorDescription { get; }

Property Value

string

Remarks

From a custom validator, for this server's log: the client is told invalid_request and no more, as in Duende. From the request validator, what the client is told, when it is told anything.

IsError

Whether the request is refused.

public bool IsError { get; }

Property Value

bool

Reason

Why the request was refused, for the failure event and the log — never sent to the client.

public string? Reason { get; init; }

Property Value

string

Remarks

This server's. What a client is told about a refusal and what the host is told are decided separately, per refusal, and recording one must not widen the other.

ValidatedRequest

The request as validated — as far as validation got, when it was refused.

public ValidatedBackchannelAuthenticationRequest ValidatedRequest { get; }

Property Value

ValidatedBackchannelAuthenticationRequest