Top Description Fields Constructors Methods
jakarta.security.enterprise.authentication.mechanism.http.openid

public final Enum PromptType

extends Enum<PromptType>
Class Inheritance
Static Imports
java.util.Objects.isNull

Prompt specifies whether the Authorization Server prompts the End-User for re-authentication and consent.
Author
Gaurav Gupta

Field Summary

Modifier and TypeField and Description
public static final PromptType
CONSENT

The Authorization Server SHOULD prompt the End-User for consent before returning information to the Client.

public static final PromptType
LOGIN

The Authorization Server SHOULD prompt the End-User for reauthentication.

public static final PromptType
NONE

The Authorization Server must not display any authentication or consent user interface pages.

public static final PromptType
SELECT_ACCOUNT

The Authorization Server SHOULD prompt the End-User to select a user account.

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public static PromptType
public static PromptType
public static PromptType[]
Inherited from java.lang.Enum:
clonecompareTodescribeConstableequalsfinalizegetDeclaringClasshashCodenameordinaltoStringvalueOf

Field Detail

LOGINback to summary
public static final PromptType LOGIN

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

NONEback to summary
public static final PromptType NONE

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. ErrorCode : login_required, interaction_required

SELECT_ACCOUNTback to summary
public static final PromptType SELECT_ACCOUNT

The Authorization Server SHOULD prompt the End-User to select a user account. If it cannot obtain an account selection choice made by the end-user, it must return an error. ErrorCode : account_selection_required

Constructor Detail

PromptTypeback to summary
private PromptType()

Method Detail

fromStringback to summary
public static PromptType fromString(String key)
valueOfback to summary
public static PromptType valueOf(String name)
valuesback to summary
public static PromptType[] values()