java.lang.Object | |
↳ | com.kinvey.java.auth.CredentialManager |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
CredentialManager(CredentialStore credentialStore) |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Credential | createAndStoreCredential(KinveyAuthResponse response, String userId) | ||||||||||
Credential | loadCredential(String userId) | ||||||||||
void | makePersistent(String userId, Credential credential) | ||||||||||
void | removeCredential(String userId) |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
response | response received from a new token request |
---|---|
userId | username or null if no persistent store is being used |
IOException |
---|
userId | a valid userId to retrieve the credential from storage |
---|
null
is returnedIOException | error in access the low-level storage mechanism |
---|
userId | unique string to hash the credential with |
---|---|
credential | a credential object to store |
IOException | error accessing the low-level storage mechanism |
---|