public static class DeviceAuth.AuthState
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
DeviceAuth.AuthState.State |
Modifier and Type | Field and Description |
---|---|
static DeviceAuth.AuthState |
ANONYMOUS |
static java.lang.String |
ANONYMOUS_USER |
DeviceAuth.AuthState.State |
state |
java.lang.String |
username |
Constructor and Description |
---|
AuthState(java.lang.String username) |
AuthState(java.lang.String username,
DeviceAuth.AuthState.State state) |
AuthState(java.lang.String username,
DeviceAuth.AuthState.State state,
byte[] sessionKey) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
int |
hashCode() |
boolean |
isLoggedIn() |
void |
logout() |
public static final java.lang.String ANONYMOUS_USER
public static DeviceAuth.AuthState ANONYMOUS
public java.lang.String username
public DeviceAuth.AuthState.State state
public AuthState(java.lang.String username)
public AuthState(java.lang.String username, DeviceAuth.AuthState.State state)
public AuthState(java.lang.String username, DeviceAuth.AuthState.State state, byte[] sessionKey)