Package io.vertx.ext.auth.webauthn4j
Enum AuthenticatorTransport
- java.lang.Object
-
- java.lang.Enum<AuthenticatorTransport>
-
- io.vertx.ext.auth.webauthn4j.AuthenticatorTransport
-
- All Implemented Interfaces:
Serializable
,Comparable<AuthenticatorTransport>
public enum AuthenticatorTransport extends Enum<AuthenticatorTransport>
AuthenticatorTransport https://www.w3.org/TR/webauthn/#enumdef-authenticatortransport
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AuthenticatorTransport
of(String string)
String
toString()
static AuthenticatorTransport
valueOf(String name)
Returns the enum constant of this type with the specified name.static AuthenticatorTransport[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
USB
public static final AuthenticatorTransport USB
-
NFC
public static final AuthenticatorTransport NFC
-
BLE
public static final AuthenticatorTransport BLE
-
HYBRID
public static final AuthenticatorTransport HYBRID
-
INTERNAL
public static final AuthenticatorTransport INTERNAL
-
-
Method Detail
-
values
public static AuthenticatorTransport[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (AuthenticatorTransport c : AuthenticatorTransport.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AuthenticatorTransport valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
toString
public String toString()
- Overrides:
toString
in classEnum<AuthenticatorTransport>
-
of
public static AuthenticatorTransport of(String string)
-
-