Package org.apereo.cas.support.oauth
Enum Class OAuth20ResponseModeTypes
- All Implemented Interfaces:
Serializable,Comparable<OAuth20ResponseModeTypes>,Constable
The OAuth response mode types (on the authorize request).
- Since:
- 6.1.0
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionform_postresponse mode.form_post.jwtresponse mode.Fragment mode.fragment.jwtresponse mode.No response mode.Query mode.query.jwtresponse mode. -
Method Summary
Modifier and TypeMethodDescriptiongetType()static OAuth20ResponseModeTypesReturns the enum constant of this class with the specified name.static OAuth20ResponseModeTypes[]values()Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class java.lang.Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Enum Constant Details
-
NONE
No response mode. -
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
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
query.jwtresponse mode. -
FRAGMENT_JWT
fragment.jwtresponse mode. -
FORM_POST_JWT
form_post.jwtresponse mode. -
FORM_POST
form_postresponse mode.
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-
getType
-