public interface AuthenticationStore
| Modifier and Type | Method and Description |
|---|---|
String |
getSecret() |
String |
getToken() |
void |
reset()
Resets the contents of this authentication store
|
void |
save(String token,
String secret)
Stores a new access token
|
String getToken()
String getSecret()
void save(String token, String secret) throws IOException
token - the token's value (must not be null)secret - the token's secret (must not be null)IOException - if the values could not storedvoid reset()
throws IOException
IOException - if the store could not be reset