public enum UserState extends Enum<UserState>
| Enum Constant and Description |
|---|
GUEST |
SIGNED_IN |
SIGNED_OUT |
SIGNED_OUT_FEDERATED_TOKENS_INVALID |
SIGNED_OUT_USER_POOLS_TOKENS_INVALID |
UNKNOWN |
| Modifier and Type | Method and Description |
|---|---|
static UserState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static UserState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final UserState SIGNED_IN
public static final UserState GUEST
public static final UserState SIGNED_OUT_FEDERATED_TOKENS_INVALID
public static final UserState SIGNED_OUT_USER_POOLS_TOKENS_INVALID
public static final UserState SIGNED_OUT
public static final UserState UNKNOWN
public static UserState[] values()
for (UserState c : UserState.values()) System.out.println(c);
public static UserState 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 nullCopyright © 2020. All rights reserved.