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

oneTimeSessionCode

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

Requests a one-time session code with 60 seconds validity.

Parameters

clientId - The client id of the app.

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

redirectUri - The desired redirect to receive from /session/ when the session represented by the code received is created.