public interface CredentialsStore
Credentials in a way that a destruction
of the CredentialsProvider can be filled with the Credentials when it is
restored. This can happen for example when the user rotate the device.
The implementor may uses the bundle of an Activity or Fragment to store them.
| Modifier and Type | Method and Description |
|---|---|
Credentials |
getCredentials() |
void |
updateCredentials(Credentials credentials)
This method stores the credentials into a more permanent location.
|
Credentials getCredentials()
null when there are not credentials present
in the store.void updateCredentials(Credentials credentials)
Activity or Fragment.
The implementor may delay the storage until a destruction event occurs. The storage does not have to be reliable (e.g. an app crash has not to be survived).
credentials - the credentials which should be stored.