public enum TokenBindingStatus extends java.lang.Enum<TokenBindingStatus> implements com.yubico.internal.util.json.JsonStringSerializable
TokenBindingInfo
's id
member is present and, if not,
whether the client supports token binding.TokenBindingInfo
Enum Constant and Description |
---|
PRESENT
Indicates token binding was used when communicating with the Relying Party.
|
SUPPORTED
Indicates the client supports token binding, but it was not negotiated when communicating with the Relying
Party.
|
Modifier and Type | Method and Description |
---|---|
static TokenBindingStatus |
fromJsonString(@NonNull java.lang.String id) |
java.lang.String |
toJsonString() |
static TokenBindingStatus |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TokenBindingStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TokenBindingStatus PRESENT
id
member MUST be present.public static final TokenBindingStatus SUPPORTED
public static TokenBindingStatus[] values()
for (TokenBindingStatus c : TokenBindingStatus.values()) System.out.println(c);
public static TokenBindingStatus valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic static TokenBindingStatus fromJsonString(@NonNull @NonNull java.lang.String id)
public java.lang.String toJsonString()
toJsonString
in interface com.yubico.internal.util.json.JsonStringSerializable