Package io.jans.as.model.common
Enum Display
- All Implemented Interfaces:
HasParamName
,Serializable
,Comparable<Display>
,java.lang.constant.Constable
An ASCII string value that specifies how the Authorization Server displays
the authentication and consent user interface pages to the End-User.
- Author:
- Javier Rojas Blum Date: 02.10.2012
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe Authorization Server SHOULD display authentication and consent UI consistent with the limitations of an embedded user-agent.The 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 Display
fromString
(String param) Returns the correspondingDisplay
for a parameter display of the authorization endpoint.toString()
Returns a string representation of the object.static Display
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 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. The popup user-agent window SHOULD be 450 pixels wide and 500 pixels tall. -
TOUCH
The Authorization Server SHOULD display authentication and consent UI consistent with a device that leverages a touch interface. The Authorization Server MAY attempt to detect the touch device and further customize the interface. -
WAP
The Authorization Server SHOULD display authentication and consent UI consistent with a "feature phone" type display. -
EMBEDDED
The Authorization Server SHOULD display authentication and consent UI consistent with the limitations of an embedded user-agent.
-
-
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
-
getParamName
- Specified by:
getParamName
in interfaceHasParamName
-
fromString
Returns the correspondingDisplay
for a parameter display of the authorization endpoint.- Parameters:
param
- The parameter.- Returns:
- The corresponding response type if found, otherwise
null
.
-
toString
Returns a string representation of the object. In this case the parameter name.
-