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