java.lang.Object
java.lang.Enum<Display>
io.micronaut.security.oauth2.endpoint.authorization.request.Display
All Implemented Interfaces:
Serializable, Comparable<Display>, Constable

public enum Display extends Enum<Display>
OpenID connect Display parameter.
Since:
1.2.0
Author:
Sergio del Amo
See Also:
  • Nested Class Summary

    Nested classes/interfaces inherited from class java.lang.Enum

    Enum.EnumDesc<E extends Enum<E>>
  • Enum Constant Summary

    Enum Constants
    Enum Constant
    Description
    The Authorization Server SHOULD display the authentication and consent UI consistent with a full User Agent page view.
    The Authorization Server SHOULD display the authentication and consent UI consistent with a popup User Agent window.
    The Authorization Server SHOULD display the authentication and consent UI consistent with a device that leverages a touch interface.
    The Authorization Server SHOULD display the authentication and consent UI consistent with a "feature phone" type display.
  • Method Summary

    Modifier and Type
    Method
    Description
     
     
    static Display
    Returns the enum constant of this class with the specified name.
    static Display[]
    Returns an array containing the constants of this enum class, in the order they are declared.

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait
  • Enum Constant Details

    • 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.
    • 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 Details

    • values

      public static Display[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static Display valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
      NullPointerException - if the argument is null
    • getDisplay

      public String getDisplay()
      Returns:
      OpenID connect Display parameter
    • toString

      public String toString()
      Overrides:
      toString in class Enum<Display>