public enum TwoFactorAuthenticationSetting extends Enum<TwoFactorAuthenticationSetting>
You can have tw-factor-authentication in three different states in your system
| Modifier and Type | Method and Description |
|---|---|
static TwoFactorAuthenticationSetting |
fromLabel(String label) |
String |
getLabel() |
static TwoFactorAuthenticationSetting |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TwoFactorAuthenticationSetting[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TwoFactorAuthenticationSetting ENABLED
public static final TwoFactorAuthenticationSetting DISABLED
public static final TwoFactorAuthenticationSetting ENFORCED
public static TwoFactorAuthenticationSetting[] values()
for (TwoFactorAuthenticationSetting c : TwoFactorAuthenticationSetting.values()) System.out.println(c);
public static TwoFactorAuthenticationSetting 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 getLabel()
public static TwoFactorAuthenticationSetting fromLabel(String label)
Copyright © 2018 Pivotal Software, Inc.. All rights reserved.