getAccessToken

fun getAccessToken(productSubscriptionKey: String, productType: String): Flow<NetworkResult<AccessToken>>

Gets the Access Token based on the ApiUser ID, OCP Subscription Id, and the API Key.

Return

A Response containing the obtained AccessToken.

Parameters

productSubscriptionKey

The subscription key for the product.

productType

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