public class CredManagerBackedTokenStore extends CredManagerBackedSecureStore<Token>
| Modifier and Type | Field and Description |
|---|---|
static String |
TOKEN_USERNAME |
| Constructor and Description |
|---|
CredManagerBackedTokenStore() |
| Modifier and Type | Method and Description |
|---|---|
protected Token |
create(String username,
String secret)
Create a
Secret from the string representation |
protected String |
getCredentialBlob(Token token)
Get String representation of the CredentialBlob field from the secret
|
protected String |
getUsername(Token token)
Get String representation of the UserName field from the
Secret |
add, delete, get, isSecurepublic static final String TOKEN_USERNAME
protected Token create(String username, String secret)
CredManagerBackedSecureStoreSecret from the string representationcreate in class CredManagerBackedSecureStore<Token>username - username for the secretsecret - password, oauth2 access token, or Personal Access TokenSecret from the inputprotected String getUsername(Token token)
CredManagerBackedSecureStoreSecretgetUsername in class CredManagerBackedSecureStore<Token>token - A Credential, Token or TokenPairprotected String getCredentialBlob(Token token)
CredManagerBackedSecureStoregetCredentialBlob in class CredManagerBackedSecureStore<Token>token - A Credential, Token or TokenPairCopyright © 2018. All rights reserved.