public class AuthStateManager
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
void |
clear()
Deletes a token
|
static AuthStateManager |
getInstance() |
OIDCCredentials |
load()
Reads credentials from storage.
|
void |
save(OIDCCredentials authState)
Saves a token
|
public OIDCCredentials load()
public void save(OIDCCredentials authState)
authState - token to be savedjava.lang.IllegalStateException - if the state can not be savedpublic void clear()
java.lang.IllegalArgumentException - if the state can not be clearedpublic static AuthStateManager getInstance()