core / com.schibsted.account.session / User / resumeSession

resumeSession

@JvmStatic fun resumeSession(appContext: Context, userId: String, callback: ResultCallback<User>): Unit

Resumes the last active user's session. This verifies that the user has accepted terms and that all required fields are provided. If this fails, onError will be called. If no session is found for the user id, onError will be called.

Parameters

userId - The ID of the user to resume a session for

callback - The callback for which to return the result