token VendorAccessTokenInfo token ( String client_id, GrantType grantGrantType grant_type, String code, String client_secret, String refresh_token ) throws AccountAPINGExceptionthrows AccountAPINGException Generate web vendor session based on a standard session identifiable by auth code, vendor secret and app key | | | |
---|
client_id | String |
| The vendor's vendorId | grant_type | GrantType |
| Whether the vendor is using an authorisation code or a refresh token to get a session | code | String | | The authorisation code used to lookup the session to be returned | client_secret | String |
| The vendor's private key used to verify their identity | refresh_token | String | | The vendor's refresh token if the grant_type is refresh_token |
| |
---|
VendorAccessTokenInfo | Response object containing VendorAccessToken, RefreshToken and optionally a Subscription Token if one was created |
Since 1.0.0 |