core / com.schibsted.account.network.service.authentication / OAuthService / tokenFromClientCredentials

tokenFromClientCredentials

fun tokenFromClientCredentials(clientId: String, clientSecret: String): Call<TokenResponse>

Requests client credentials that can be used to request client-authenticated requests.

Parameters

clientId - The client id to use.

clientSecret - The client secret corresponding to the given id.