com.kinvey.java.auth.CredentialStore |
Known Indirect Subclasses
|
Class Overview
A mechanism to store, retrieve and purge credentials from memory and disk
Public Methods
public
abstract
void
delete
(String userId)
Parameters
userId |
the unique identifier to the credential to purge |
Throws
IOException
| error in purging the credential from low-level storage
|
public
abstract
Credential
load
(String userId)
Parameters
userId |
a unique identifier for the stored credential |
Returns
- a credential object retrieved from storage otherwise
null
is returned
Throws
IOException
| error in retrieving from low-level storage mechanism
|
public
abstract
void
store
(String userId, Credential credential)
Parameters
userId |
a unique identifier to index the credential in storage |
credential |
non-null credential to store |
Throws
IOException
| error in storing to low-level storage mechanism
|