public enum OtpTotpEncoding extends Enum<OtpTotpEncoding>
Enum Constant and Description |
---|
BASE32 |
BASE64 |
HEXADECIMAL |
Modifier and Type | Method and Description |
---|---|
static OtpTotpEncoding |
fromValue(String value) |
String |
getValue() |
String |
toString() |
String |
toUrlQueryString(String prefix)
Convert the instance into URL query string.
|
static OtpTotpEncoding |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static OtpTotpEncoding[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OtpTotpEncoding BASE32
public static final OtpTotpEncoding BASE64
public static final OtpTotpEncoding HEXADECIMAL
public static OtpTotpEncoding[] values()
for (OtpTotpEncoding c : OtpTotpEncoding.values()) System.out.println(c);
public static OtpTotpEncoding 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<OtpTotpEncoding>
public static OtpTotpEncoding fromValue(String value)
Copyright © 2017–2023 Okta. All rights reserved.