getOauthAccessToken

fun getOauthAccessToken(productType: String, productSubscriptionKey: String, environment: String): Flow<NetworkResult<Oauth2AccessToken>>

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.