core / com.schibsted.account.network.service.user / UserService / getUserProfile

getUserProfile

fun getUserProfile(userId: String, userToken: TokenResponse): Call<ApiContainer<ProfileData>>

Retrieves the user data from Schibsted account

Parameters

userId - The user's ID, must match the one in the token

userToken - The user's access token

Return
On success it will return the profile data, failure if something went wrong