getAccessToken

suspend fun getAccessToken(productType: String, productSubscriptionKey: String): Response<AccessToken>

Obtains an access token for the specified product type.

Return

A Response containing the obtained io.rekast.sdk.model.authentication.AccessToken.

Parameters

productType

The type of product for which to obtain the access token.

productSubscriptionKey

The subscription key for the product.