47 if (responseTypeParam == null) {
48 throw new IllegalArgumentException(
"response_type is null");
52 List<String> allowedTypes =
new ArrayList<>();
53 for (String current : responseTypes) {
55 allowedTypes.add(current);
57 throw new IllegalArgumentException(
"Unsupported response_type: " + responseTypeParam);
final List< String > responseTypes
Definition: OIDCResponseType.java:38
static final List< String > ALLOWED_RESPONSE_TYPES
Definition: OIDCResponseType.java:36
static void validateAllowedTypes(List< String > responseTypes)
Definition: OIDCResponseType.java:76
OIDCResponseType(List< String > responseTypes)
Definition: OIDCResponseType.java:41