Module jakarta.security
Enum DisplayType
java.lang.Object
java.lang.Enum<DisplayType>
jakarta.security.enterprise.authentication.mechanism.http.openid.DisplayType
- All Implemented Interfaces:
Serializable
,Comparable<DisplayType>
,java.lang.constant.Constable
Display specifies how the Authorization Server displays the authentication
and consent user interface pages to the End-User.
- Author:
- Gaurav Gupta
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionThe Authorization Server should display authentication and consent UI consistent with a full User-Agent page view.The Authorization Server should display authentication and consent UI consistent with a popup User-Agent window.The Authorization Server should display authentication and consent UI consistent with a device that leverages a touch interface.The Authorization Server should display authentication and consent UI consistent with a "feature phone" type display. -
Method Summary
Modifier and TypeMethodDescriptionstatic DisplayType
fromString
(String key) static DisplayType
Returns the enum constant of this type with the specified name.static DisplayType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
PAGE
The Authorization Server should display 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
The Authorization Server should display authentication and consent UI consistent with a popup User-Agent window. -
TOUCH
The Authorization Server should display authentication and consent UI consistent with a device that leverages a touch interface. -
WAP
The Authorization Server should display authentication and consent UI consistent with a "feature phone" type display.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
fromString
-