Table of Contents

Class OidcConstants.PromptModes

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

Values of the prompt authorize parameter (OIDC Core §3.1.2.1).

public static class OidcConstants.PromptModes
Inheritance
OidcConstants.PromptModes
Inherited Members

Fields

Ask for consent even if a decision was remembered.

public const string Consent = "consent"

Field Value

string

Create

Send the user to create an account (OpenID Connect Prompt Create 1.0). Duende's.

public const string Create = "create"

Field Value

string

Remarks

Supported only when UserInteractionOptions.CreateAccountUrl is set, and never with another value.

Login

Re-authenticate the user even if they already have a session.

public const string Login = "login"

Field Value

string

None

Do not interact with the user at all; answer the request instead.

public const string None = "none"

Field Value

string

Remarks

Per OpenID Connect Core §3.1.2.1 this value must not appear with any other: a request cannot both forbid interaction and demand one.

SelectAccount

Let the user choose an account. Shown the login page, as Duende shows it.

public const string SelectAccount = "select_account"

Field Value

string

Remarks

Not named here until 0.142.0, for want of an account picker. Duende's interaction generator answers it with the login page, which is where a user picks the account they sign in with; so does this server's.