public interface OAuth2CredentialsStoreService
@Auditable(parameters="remoteSystemId") OAuth2CredentialsInfo storePersonalOAuth2Credentials(String remoteSystemId, String accessToken, String refreshToken, Date expiresAt, Date issuedAt) throws NoSuchSystemException
NoSuchSystemException
@Auditable(parameters="remoteSystemId") OAuth2CredentialsInfo storeSharedOAuth2Credentials(String remoteSystemId, String accessToken, String refreshToken, Date expiresAt, Date issuedAt) throws NoSuchSystemException
NoSuchSystemException
@Auditable(parameters="remoteSystemId") OAuth2CredentialsInfo getPersonalOAuth2Credentials(String remoteSystemId) throws NoSuchSystemException
NoSuchSystemException
@Auditable(parameters="remoteSystemId") OAuth2CredentialsInfo updateSharedOAuth2Credentials(OAuth2CredentialsInfo exisitingCredentials, String remoteSystemId, String accessToken, String refreshToken, Date expiresAt, Date issuedAt) throws NoSuchSystemException
NoSuchSystemException
@Auditable(parameters="remoteSystemId") List<OAuth2CredentialsInfo> listSharedOAuth2Credentials(String remoteSystemId) throws NoSuchSystemException
NoSuchSystemException
@Auditable(parameters="remoteSystemId") boolean deletePersonalOAuth2Credentials(String remoteSystemId) throws NoSuchSystemException
NoSuchSystemException
@Auditable(parameters="remoteSystemId") boolean deleteSharedOAuth2Credentials(String remoteSystemId, OAuth2CredentialsInfo credentials) throws NoSuchSystemException
NoSuchSystemException
@Auditable(parameters="remoteSystemId") OAuth2CredentialsInfo updateCredentialsAuthenticationSucceeded(boolean succeeded, OAuth2CredentialsInfo credentials)
Copyright © 2005–2017 Alfresco Software. All rights reserved.