OpenAPI-Android

com.kkbox.openapideveloper / com.kkbox.openapideveloper.auth / ClientCredentialsFlow / fetchAccessToken

fetchAccessToken

fun fetchAccessToken(): ResponseFuture<JsonObject>

Fetch access token.

return tokenFetcher.fetchAccessToken(mapOf("grant_type" to listOf("client_credentials")))

Return the access token.