Enum Class OAuth20ResponseModeTypes

java.lang.Object
java.lang.Enum<OAuth20ResponseModeTypes>
org.apereo.cas.support.oauth.OAuth20ResponseModeTypes
All Implemented Interfaces:
Serializable, Comparable<OAuth20ResponseModeTypes>, Constable

public enum OAuth20ResponseModeTypes extends Enum<OAuth20ResponseModeTypes>
The OAuth response mode types (on the authorize request).
Since:
6.1.0
  • Enum Constant Details

    • NONE

      public static final OAuth20ResponseModeTypes NONE
      No response mode.
    • QUERY

      public static final OAuth20ResponseModeTypes QUERY
      Query mode. In this mode, Authorization Response parameters are encoded in the query string added to the redirect_uri when redirecting back to the Client.
    • FRAGMENT

      public static final OAuth20ResponseModeTypes FRAGMENT
      Fragment mode. In this mode, Authorization Response parameters are encoded in the fragment added to the redirect_uri when redirecting back to the Client.
    • QUERY_JWT

      public static final OAuth20ResponseModeTypes QUERY_JWT
      query.jwt response mode.
    • FRAGMENT_JWT

      public static final OAuth20ResponseModeTypes FRAGMENT_JWT
      fragment.jwt response mode.
    • FORM_POST_JWT

      public static final OAuth20ResponseModeTypes FORM_POST_JWT
      form_post.jwt response mode.
    • FORM_POST

      public static final OAuth20ResponseModeTypes FORM_POST
      form_post response mode.
  • Method Details

    • values

      public static OAuth20ResponseModeTypes[] 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 OAuth20ResponseModeTypes 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
    • getType

      public String getType()