core / com.schibsted.account.network.service.session / SessionService / oneTimeCode

oneTimeCode

fun oneTimeCode(clientId: String, accessToken: TokenResponse): Call<TokenExchangeResponse>

Requests a one-time code with 30 seconds validity.

Parameters

clientId - The client id of the app.

accessToken - The access token for the user that the code is requested for.