Serializable
, Comparable<ClaimsTransport>
public enum ClaimsTransport extends Enum<ClaimsTransport>
Enum Constant | Description |
---|---|
ID_TOKEN |
The claims are returned with the ID token.
|
USERINFO |
The claims are returned at the UserInfo endpoint.
|
Modifier and Type | Method | Description |
---|---|---|
static ClaimsTransport |
getDefault() |
Returns the default claims transport.
|
static ClaimsTransport |
valueOf(String name) |
Returns the enum constant of this type with the specified name.
|
static ClaimsTransport[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ClaimsTransport USERINFO
public static final ClaimsTransport ID_TOKEN
public static ClaimsTransport[] values()
for (ClaimsTransport c : ClaimsTransport.values()) System.out.println(c);
public static ClaimsTransport valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic static ClaimsTransport getDefault()
Copyright © 2018 Connect2id Ltd.. All rights reserved.