| Enum Constant and Description |
|---|
CONSENT
acquireToken will send prompt=consent to the authorize endpoint.
|
LOGIN
acquireToken will send prompt=login to the authorize endpoint.
|
SELECT_ACCOUNT
acquireToken will send prompt=select_account to the authorize endpoint.
|
WHEN_REQUIRED
acquireToken will not send the prompt parameter to the authorize endpoint.
|
| Modifier and Type | Method and Description |
|---|---|
OpenIdConnectPromptParameter |
toOpenIdConnectPromptParameter() |
java.lang.String |
toString() |
static Prompt |
valueOf(java.lang.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 SELECT_ACCOUNT
public static final Prompt LOGIN
toString override is to enable the correct protocol value of login to be returned instead of "force_login".
public static final Prompt CONSENT
public static final Prompt WHEN_REQUIRED
public static Prompt[] values()
for (Prompt c : Prompt.values()) System.out.println(c);
public static Prompt valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic java.lang.String toString()
toString in class java.lang.Enum<Prompt>public OpenIdConnectPromptParameter toOpenIdConnectPromptParameter()