public interface ThirdPartyCredentials
Modifier and Type | Method and Description |
---|---|
void |
putThirdPartyCredential(String key,
String value)
Stores a third-party credential key-value pair in the database.
|
void |
removeThirdPartyCredential(String key) |
Set<String> |
thirdPartyCredentialsKeySet() |
void putThirdPartyCredential(String key, String value) throws NotConnectedException, PermissionException, KeyException
key
- the third-party credential key to storevalue
- the third-party credential value to store, it will be encryptedNotConnectedException
- if you are not authenticated.PermissionException
- if you can't access this particular method.KeyException
- if encryption of value failsSet<String> thirdPartyCredentialsKeySet() throws NotConnectedException, PermissionException
NotConnectedException
- if you are not authenticated.PermissionException
- if you can't access this particular method.void removeThirdPartyCredential(String key) throws NotConnectedException, PermissionException
key
- the third-party credential key to removeNotConnectedException
- if you are not authenticated.PermissionException
- if you can't access this particular method.