public interface AuthorizationService
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAccessToken(GUID shopGuid)
Get the access token that is bound to the passed shop id.
|
java.lang.String |
getInitialAccessToken(GUID shopGuid,
java.lang.String authcode,
java.lang.String redirectUri)
Gets a access token for using the passed authcode and binds it to the
passed shop id.
|
java.lang.String getInitialAccessToken(GUID shopGuid, java.lang.String authcode, java.lang.String redirectUri)
shopGuid
- GUID of the shop to use the access token for.authcode
- Authcode to use for receiving the access token.redirectUri
- Redirect Uri used to receive the authcode.java.lang.String getAccessToken(GUID shopGuid)
shopGuid
- GUID of the shop to get a access token for.