Serializable
, Comparable<TokenEncoding>
public enum TokenEncoding extends Enum<TokenEncoding>
Enum Constant | Description |
---|---|
IDENTIFIER |
Opaque secure identifier.
|
SELF_CONTAINED |
Self-contained, the authorisation is encoded (e.g.
|
Modifier and Type | Method | Description |
---|---|---|
static TokenEncoding |
valueOf(String name) |
Returns the enum constant of this type with the specified name.
|
static TokenEncoding[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TokenEncoding IDENTIFIER
public static final TokenEncoding SELF_CONTAINED
public static TokenEncoding[] values()
for (TokenEncoding c : TokenEncoding.values()) System.out.println(c);
public static TokenEncoding 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 nullCopyright © 2018 Connect2id Ltd.. All rights reserved.