Package org.keycloak.protocol.oidc.utils
Enum OIDCResponseMode
- java.lang.Object
- 
- java.lang.Enum<OIDCResponseMode>
- 
- org.keycloak.protocol.oidc.utils.OIDCResponseMode
 
 
- 
- All Implemented Interfaces:
- Serializable,- Comparable<OIDCResponseMode>
 
 public enum OIDCResponseMode extends Enum<OIDCResponseMode> - Author:
- Marek Posolda
 
- 
- 
Enum Constant SummaryEnum Constants Enum Constant Description FORM_POSTFORM_POST_JWTFRAGMENTFRAGMENT_JWTJWTQUERYQUERY_JWT
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static OIDCResponseModeparse(String responseMode, OIDCResponseType responseType)static OIDCResponseModeparseWhenInvalidResponseType(String responseMode)Stringvalue()static OIDCResponseModevalueOf(String name)Returns the enum constant of this type with the specified name.static OIDCResponseMode[]values()Returns an array containing the constants of this enum type, in the order they are declared.
 
- 
- 
- 
Enum Constant Detail- 
QUERYpublic static final OIDCResponseMode QUERY 
 - 
JWTpublic static final OIDCResponseMode JWT 
 - 
FRAGMENTpublic static final OIDCResponseMode FRAGMENT 
 - 
FORM_POSTpublic static final OIDCResponseMode FORM_POST 
 - 
QUERY_JWTpublic static final OIDCResponseMode QUERY_JWT 
 - 
FRAGMENT_JWTpublic static final OIDCResponseMode FRAGMENT_JWT 
 - 
FORM_POST_JWTpublic static final OIDCResponseMode FORM_POST_JWT 
 
- 
 - 
Method Detail- 
valuespublic static OIDCResponseMode[] 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 (OIDCResponseMode c : OIDCResponseMode.values()) System.out.println(c); - Returns:
- an array containing the constants of this enum type, in the order they are declared
 
 - 
valueOfpublic static OIDCResponseMode 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
 
 - 
parsepublic static OIDCResponseMode parse(String responseMode, OIDCResponseType responseType) 
 - 
parseWhenInvalidResponseTypepublic static OIDCResponseMode parseWhenInvalidResponseType(String responseMode) 
 - 
valuepublic String value() 
 
- 
 
-