Skip to main content
Module

x/authlete_deno/mod.ts>Prompt

Authlete Library for Deno
Go to Latest
class Prompt
Re-export
import { Prompt } from "https://deno.land/x/authlete_deno@v1.2.9/mod.ts";

Values for prompt.

For more details, see OpenID Connect Core 1.0, 3.1.2.1. Authentication Request.

Static Properties

readonly
LOGIN: Prompt

login (1).

The Authorization Server SHOULD prompt the End-User for reauthentication. If it cannot reauthenticate the End-User, it MUST return an error, typically login_required.

readonly
NONE: Prompt

none (0).

The Authorization Server MUST NOT display any authentication or consent user interface pages. An error is returned if an End-User is not already authenticated or the Client does not have pre-configured consent for the requested Claims or does not fulfill other conditions for processing the request. The error code will typically be login_required, interaction_required, or another code defined in Section 3.1.2.6. This can be used as a method to check for existing authentication and/or consent.

readonly
SELECT_ACCOUNT: Prompt

select_account (3).

The Authorization Server SHOULD prompt the End-User to select a user account. This enables an End-User who has multiple accounts at the Authorization Server to select amongst the multiple accounts that they might have current sessions for. If it cannot obtain an account selection choice made by the End-User, it MUST return an error, typically account_selection_required.