Package org.keycloak.protocol.oidc.utils
Class OIDCResponseType
- java.lang.Object
-
- org.keycloak.protocol.oidc.utils.OIDCResponseType
-
public class OIDCResponseType extends Object
- Author:
- Marek Posolda
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanhasResponseType(String responseType)booleanhasSingleResponseType(String responseType)Checks whether the givenresponseTypeis the only value within the requested response types.booleanisImplicitFlow()booleanisImplicitOrHybridFlow()static OIDCResponseTypeparse(String responseTypeParam)static OIDCResponseTypeparse(List<String> responseTypes)StringtoString()
-
-
-
Field Detail
-
CODE
public static final String CODE
- See Also:
- Constant Field Values
-
TOKEN
public static final String TOKEN
- See Also:
- Constant Field Values
-
ID_TOKEN
public static final String ID_TOKEN
- See Also:
- Constant Field Values
-
NONE
public static final String NONE
- See Also:
- Constant Field Values
-
-
Method Detail
-
parse
public static OIDCResponseType parse(String responseTypeParam)
-
parse
public static OIDCResponseType parse(List<String> responseTypes)
-
hasResponseType
public boolean hasResponseType(String responseType)
-
hasSingleResponseType
public boolean hasSingleResponseType(String responseType)
Checks whether the givenresponseTypeis the only value within the requested response types.- Parameters:
responseType- the response type- Returns:
trueif the given response type if within the list of response types. Otherwise,false
-
isImplicitOrHybridFlow
public boolean isImplicitOrHybridFlow()
-
isImplicitFlow
public boolean isImplicitFlow()
-
-