public class OAuth1CredentialsStoreServiceImpl extends Object implements OAuth1CredentialsStoreService
Constructor and Description |
---|
OAuth1CredentialsStoreServiceImpl() |
Modifier and Type | Method and Description |
---|---|
boolean |
deletePersonalOAuth1Credentials(String remoteSystemId)
Delete the current users OAuth1 Credentials for the remote system
|
boolean |
deleteSharedOAuth1Credentials(String remoteSystemId,
OAuth1CredentialsInfo credentials) |
OAuth1CredentialsInfo |
getPersonalOAuth1Credentials(String remoteSystemId)
Get the current users OAuth1Credentials for the remote systems
|
List<OAuth1CredentialsInfo> |
listSharedOAuth1Credentials(String remoteSystemId) |
void |
setRemoteCredentialsService(RemoteCredentialsService remoteCredentialsService) |
OAuth1CredentialsInfo |
storePersonalOAuth1Credentials(String remoteSystemId,
String token,
String secret)
Add or Update OAuth1 Credentials for the current user to the OAuth1
Credential Store
|
OAuth1CredentialsInfo |
storeSharedOAuth1Credentials(String remoteSystemId,
String token,
String secret)
Add Shared OAuth1 Credentials to the OAuth1 Credential Store
|
OAuth1CredentialsInfo |
updateCredentialsAuthenticationSucceeded(boolean succeeded,
OAuth1CredentialsInfo credentials) |
OAuth1CredentialsInfo |
updateSharedOAuth1Credentials(OAuth1CredentialsInfo exisitingCredentials,
String remoteSystemId,
String token,
String secret) |
public void setRemoteCredentialsService(RemoteCredentialsService remoteCredentialsService)
public OAuth1CredentialsInfo storePersonalOAuth1Credentials(String remoteSystemId, String token, String secret) throws NoSuchSystemException
storePersonalOAuth1Credentials
in interface OAuth1CredentialsStoreService
remoteSystemId
- Stringtoken
- Stringsecret
- StringNoSuchSystemException
public OAuth1CredentialsInfo storeSharedOAuth1Credentials(String remoteSystemId, String token, String secret) throws NoSuchSystemException
storeSharedOAuth1Credentials
in interface OAuth1CredentialsStoreService
remoteSystemId
- Stringtoken
- Stringsecret
- StringNoSuchSystemException
public OAuth1CredentialsInfo updateSharedOAuth1Credentials(OAuth1CredentialsInfo exisitingCredentials, String remoteSystemId, String token, String secret) throws NoSuchSystemException
updateSharedOAuth1Credentials
in interface OAuth1CredentialsStoreService
exisitingCredentials
- OAuth1CredentialsInforemoteSystemId
- Stringtoken
- Stringsecret
- StringNoSuchSystemException
public OAuth1CredentialsInfo getPersonalOAuth1Credentials(String remoteSystemId) throws NoSuchSystemException
getPersonalOAuth1Credentials
in interface OAuth1CredentialsStoreService
remoteSystemId
- StringNoSuchSystemException
public List<OAuth1CredentialsInfo> listSharedOAuth1Credentials(String remoteSystemId) throws NoSuchSystemException
listSharedOAuth1Credentials
in interface OAuth1CredentialsStoreService
remoteSystemId
- StringNoSuchSystemException
public boolean deletePersonalOAuth1Credentials(String remoteSystemId) throws NoSuchSystemException
deletePersonalOAuth1Credentials
in interface OAuth1CredentialsStoreService
remoteSystemId
- StringNoSuchSystemException
public boolean deleteSharedOAuth1Credentials(String remoteSystemId, OAuth1CredentialsInfo credentials) throws NoSuchSystemException
deleteSharedOAuth1Credentials
in interface OAuth1CredentialsStoreService
NoSuchSystemException
public OAuth1CredentialsInfo updateCredentialsAuthenticationSucceeded(boolean succeeded, OAuth1CredentialsInfo credentials)
updateCredentialsAuthenticationSucceeded
in interface OAuth1CredentialsStoreService
succeeded
- booleancredentials
- OAuth1CredentialsInfoCopyright © 2005–2017 Alfresco Software. All rights reserved.