Table of Contents

Class InteractionResponse

Namespace
Fdyay.IdentityServer.ResponseHandling
Assembly
Fdyay.IdentityServer.AspNetCore.dll

What the authorize endpoint does with a validated request before answering it. Duende's.

public class InteractionResponse
Inheritance
InteractionResponse
Inherited Members

Properties

Error

The error to answer the client with.

public string? Error { get; set; }

Property Value

string

Remarks

One of the interaction errors — access_denied, login_required, consent_required, interaction_required, account_selection_required, temporarily_unavailable, unmet_authentication_requirements — goes back to the client; any other is shown on the error page, as Duende's authorize response writer decides.

ErrorDescription

The description sent with Error.

public string? ErrorDescription { get; set; }

Property Value

string

IsConsent

Send the user to the consent page.

public bool IsConsent { get; set; }

Property Value

bool

IsCreateAccount

Send the user to the create-account page (prompt=create).

public bool IsCreateAccount { get; set; }

Property Value

bool

IsError

Whether Error is set.

public bool IsError { get; }

Property Value

bool

IsLogin

Send the user to the login page.

public bool IsLogin { get; set; }

Property Value

bool

IsRedirect

Whether RedirectUrl is set.

public bool IsRedirect { get; }

Property Value

bool

RedirectUrl

A page of the host's own to send the user to, with the return URL appended.

public string? RedirectUrl { get; set; }

Property Value

string

Remarks

The return URL goes under CustomRedirectReturnUrlParameter; the page resumes the request by sending the user back to it.

ResponseType

An error first, then any page, then nothing: Duende's order.

public InteractionResponseType ResponseType { get; }

Property Value

InteractionResponseType