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

tokenFromPassword

fun tokenFromPassword(clientId: String, clientSecret: String, username: String, password: String, vararg scopes: String): Call<TokenResponse>

Log in using identifier and password

Parameters

clientId - The client id of the app.

clientSecret - The client secret of the app.

username - The identifier to log in

password - The password of the user