logInWith

fun Purchases.logInWith(appUserID: String, onError: (<Error class: unknown class>) -> Unit = ON_ERROR_STUB, onSuccess: (<Error class: unknown class>, created: Boolean) -> Unit)

This function will change the current appUserID. Typically this would be used after a log out to identify a new user without calling configure

Parameters

appUserID

The new appUserID that should be linked to the currently user

onSuccess

Will be called after the call has completed.

onError

Will be called after the call has completed with an error.