Enum Display
- java.lang.Object
-
- java.lang.Enum<Display>
-
- io.micronaut.security.oauth2.endpoint.authorization.request.Display
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<Display>
public enum Display extends java.lang.Enum<Display>
OpenID connect Display parameter.- Since:
- 1.2.0
- Author:
- Sergio del Amo
- See Also:
- OpenID connect / Authentication Request
-
-
Enum Constant Summary
Enum Constants Enum Constant Description PAGE
The Authorization Server SHOULD display the authentication and consent UI consistent with a full User Agent page view.POPUP
The Authorization Server SHOULD display the authentication and consent UI consistent with a popup User Agent window.TOUCH
The Authorization Server SHOULD display the authentication and consent UI consistent with a device that leverages a touch interface.WAP
The Authorization Server SHOULD display the authentication and consent UI consistent with a "feature phone" type display.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getDisplay()
java.lang.String
toString()
static Display
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static Display[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
PAGE
public static final Display PAGE
The Authorization Server SHOULD display the authentication and consent UI consistent with a full User Agent page view. If the display parameter is not specified, this is the default display mode.
-
POPUP
public static final Display POPUP
The Authorization Server SHOULD display the authentication and consent UI consistent with a popup User Agent window. The popup User Agent window should be of an appropriate size for a login-focused dialog and should not obscure the entire window that it is popping up over.
-
TOUCH
public static final Display TOUCH
The Authorization Server SHOULD display the authentication and consent UI consistent with a device that leverages a touch interface.
-
WAP
public static final Display WAP
The Authorization Server SHOULD display the authentication and consent UI consistent with a "feature phone" type display.
-
-
Method Detail
-
values
public static Display[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (Display c : Display.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Display valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
getDisplay
public java.lang.String getDisplay()
- Returns:
- OpenID connect Display parameter
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Enum<Display>
-
-