public enum FactorType extends Enum<FactorType>
| Enum Constant and Description |
|---|
CALL |
EMAIL |
PUSH |
QUESTION |
SIGNED_NONCE |
SMS |
TOKEN |
TOKEN_HARDWARE |
TOKEN_HOTP |
TOKEN_SOFTWARE_TOTP |
U2F |
WEB |
WEBAUTHN |
| Modifier and Type | Method and Description |
|---|---|
static FactorType |
fromValue(String value) |
String |
getValue() |
String |
toString() |
String |
toUrlQueryString(String prefix)
Convert the instance into URL query string.
|
static FactorType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FactorType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FactorType CALL
public static final FactorType EMAIL
public static final FactorType PUSH
public static final FactorType QUESTION
public static final FactorType SIGNED_NONCE
public static final FactorType SMS
public static final FactorType TOKEN
public static final FactorType TOKEN_HARDWARE
public static final FactorType TOKEN_HOTP
public static final FactorType TOKEN_SOFTWARE_TOTP
public static final FactorType U2F
public static final FactorType WEB
public static final FactorType WEBAUTHN
public static FactorType[] values()
for (FactorType c : FactorType.values()) System.out.println(c);
public static FactorType 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 String getValue()
public String toString()
toString in class Enum<FactorType>public static FactorType fromValue(String value)
Copyright © 2017–2023 Okta. All rights reserved.