|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<Prompt.Type> com.nimbusds.openid.connect.sdk.Prompt.Type
public static enum Prompt.Type
Enumeration of the prompt types.
Enum Constant Summary | |
---|---|
CONSENT
The authorisation server must prompt the end-user for consent before returning information to the client. |
|
LOGIN
The authorisation server must prompt the end-user for re-authentication. |
|
NONE
The authorisation server must not display any authentication or consent UI pages. |
|
SELECT_ACCOUNT
The authorisation server must prompt the end-user to select a user account. |
Method Summary | |
---|---|
static Prompt.Type |
parse(String s)
Parses a prompt type. |
String |
toString()
Returns the string identifier of this prompt type. |
static Prompt.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static Prompt.Type[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final Prompt.Type NONE
scope
. This
can be used as a method to check for existing authentication
and / or consent.
public static final Prompt.Type LOGIN
public static final Prompt.Type CONSENT
public static final Prompt.Type SELECT_ACCOUNT
Method Detail |
---|
public static Prompt.Type[] values()
for (Prompt.Type c : Prompt.Type.values()) System.out.println(c);
public static Prompt.Type valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is nullpublic String toString()
toString
in class Enum<Prompt.Type>
public static Prompt.Type parse(String s) throws ParseException
s
- The string to parse.
ParseException
- If the parsed string is null
or doesn't match a prompt type.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |