Enum Display

    • Enum Constant Detail

      • PAGE

        public static final Display PAGE
        "page" (1).

        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
        "popup" (2).

        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
        "touch" (3).

        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
        "wap" (4).

        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​(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:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null
      • getValue

        public short getValue()
        Get the integer representation of this enum instance.
      • getByValue

        public static Display getByValue​(short value)
        Find an instance of this enum by a value.
        Parameters:
        value - The integer representation of the instance to find.
        Returns:
        An instance of this enum, or null if not found.
      • parse

        public static Display parse​(String display)
        Convert String to Display.
        Parameters:
        display - A value of display parameter. For example, "page".
        Returns:
        Display instance, or null.
      • toArray

        public static Display[] toArray​(int bits)