public interface AccessTokenService
Modifier and Type | Method and Description |
---|---|
AccessTokenResponse |
getAccessToken(GUID shopGuid,
java.lang.String refreshToken)
Invokes a access token request against the sageone API.
|
AccessTokenResponse |
getAccessToken(GUID shopGuid,
java.lang.String authcode,
java.lang.String redirectUri)
Invokes a access token request against the sageone API.
|
AccessTokenResponse getAccessToken(GUID shopGuid, java.lang.String authcode, java.lang.String redirectUri)
shopGuid
- GUID of the shop to request access for.authcode
- The authcode used to request access.redirectUri
- The redirectUri used in the auth for verification.AuthorizationException
- in case the requet failed.AccessTokenResponse getAccessToken(GUID shopGuid, java.lang.String refreshToken)
shopGuid
- GUID of the shop to request access for.refreshToken
- The refresh token used to request access.AuthorizationException
- in case the requet failed.