OpenAPI-Android

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

ClientCredentialsFlow

class ClientCredentialsFlow

Implements the client credentials flow. Used for accessing APIs that don’t need any KKBOX user’s personal data.

Constructors

<init> ClientCredentialsFlow(tokenFetcher: TokenFetcher)
Implements the client credentials flow. Used for accessing APIs that don’t need any KKBOX user’s personal data.

Functions

fetchAccessToken fun fetchAccessToken(): ResponseFuture<JsonObject>
Fetch access token.