public enum Prompt extends Enum<Prompt>
| Enum Constant and Description |
|---|
ADMIN_CONSENT
An administrator should be prompted to consent on behalf of all users in their organization.
|
ADMING_CONSENT
Deprecated.
|
CONSENT
User consent has been granted, but needs to be updated.
|
LOGIN
The user should be prompted to reauthenticate.
|
NONE
User will not be shown an interactive prompt
|
SELECT_ACCOUNT
The user is prompted to select an account, interrupting single sign on.
|
| Modifier and Type | Method and Description |
|---|---|
String |
toString() |
static Prompt |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Prompt[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Prompt LOGIN
public static final Prompt SELECT_ACCOUNT
public static final Prompt CONSENT
@Deprecated public static final Prompt ADMING_CONSENT
Deprecated, instead use Prompt.ADMIN_CONSENT
public static final Prompt ADMIN_CONSENT
public static final Prompt NONE
public static Prompt[] values()
for (Prompt c : Prompt.values()) System.out.println(c);
public static Prompt valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2013–2022. All rights reserved.