signInAnonymously

inline suspend fun <T : Any> Auth.signInAnonymously(data: T, captchaToken: String? = null)(source)

Signs in the user without any credentials. This will create a new user session with a new access token.

If you want to upgrade this anonymous user to a real user, use Auth.linkIdentity to link an OAuth identity or Auth.updateUser to add an email or phone.

Parameters

data

Extra data for the user

captchaToken

The captcha token to use