public class GnomeKeyringBackedTokenPairStore extends GnomeKeyringBackedSecureStore<TokenPair>
ALLOW_UNLOCK_KEYRING| Constructor and Description |
|---|
GnomeKeyringBackedTokenPairStore() |
| Modifier and Type | Method and Description |
|---|---|
protected TokenPair |
deserialize(String secret)
Create a
Secret from the stored string representation |
protected String |
getType()
Return the type of this secure store, used to match the secret in GNOME Keyring
|
protected String |
serialize(TokenPair tokenPair)
Create a string representation suitable to be saved as String
|
add, delete, get, isGnomeKeyringSupported, isSecureprotected String serialize(TokenPair tokenPair)
GnomeKeyringBackedSecureStoreserialize in class GnomeKeyringBackedSecureStore<TokenPair>tokenPair - password, oauth2 access token, or Personal Access Tokenprotected TokenPair deserialize(String secret)
GnomeKeyringBackedSecureStoreSecret from the stored string representationdeserialize in class GnomeKeyringBackedSecureStore<TokenPair>secret - password, oauth2 access token, or Personal Access TokenSecret from the inputprotected String getType()
GnomeKeyringBackedSecureStoregetType in class GnomeKeyringBackedSecureStore<TokenPair>Copyright © 2018. All rights reserved.