public enum FactorType extends Enum<FactorType>
Enum Constant and Description |
---|
CALL |
EMAIL |
PUSH |
QUESTION |
SMS |
TOKEN |
TOKEN_HARDWARE |
TOKEN_HOTP |
TOKEN_SOFTWARE_TOTP |
U2F |
WEB |
WEBAUTHN |
Modifier and Type | Method and Description |
---|---|
String |
toString() |
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 SMS
public static final FactorType TOKEN_HARDWARE
public static final FactorType TOKEN_HOTP
public static final FactorType TOKEN_SOFTWARE_TOTP
public static final FactorType TOKEN
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 toString()
toString
in class Enum<FactorType>
Copyright © 2018–2023 Okta. All rights reserved.