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 boolean
hasResponseType(String responseType)
boolean
hasSingleResponseType(String responseType)
Checks whether the givenresponseType
is the only value within the requested response types.boolean
isImplicitFlow()
boolean
isImplicitOrHybridFlow()
static OIDCResponseType
parse(String responseTypeParam)
static OIDCResponseType
parse(List<String> responseTypes)
String
toString()
-
-
-
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 givenresponseType
is the only value within the requested response types.- Parameters:
responseType
- the response type- Returns:
true
if the given response type if within the list of response types. Otherwise,false
-
isImplicitOrHybridFlow
public boolean isImplicitOrHybridFlow()
-
isImplicitFlow
public boolean isImplicitFlow()
-
-