public enum AuthenticatorAttachment extends java.lang.Enum<AuthenticatorAttachment> implements com.yubico.internal.util.json.JsonStringSerializable
navigator.credentials.create()
to
create a credential, and
PublicKeyCredentialRequestOptions.allowCredentials
when calling
navigator.credentials.get()
.
Enum Constant and Description |
---|
CROSS_PLATFORM
Indicates cross-platform
attachment.
|
PLATFORM
Indicates platform
attachment.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
toJsonString() |
static AuthenticatorAttachment |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AuthenticatorAttachment[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AuthenticatorAttachment CROSS_PLATFORM
Authenticators of this class are removable from, and can "roam" among, client platforms.
public static final AuthenticatorAttachment PLATFORM
Usually, authenticators of this class are not removable from the platform.
public static AuthenticatorAttachment[] values()
for (AuthenticatorAttachment c : AuthenticatorAttachment.values()) System.out.println(c);
public static AuthenticatorAttachment 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 java.lang.String toJsonString()
toJsonString
in interface com.yubico.internal.util.json.JsonStringSerializable