registerUser

abstract suspend fun registerUser(email: String, password: String)

Registers a new user with the given email and password.

Parameters

email

the email used to register a user. This will be the username used during log in.

password

the password associated with the email. The password must be between 6 and 128 characters long.

Throws

if this email was already registered.

for other failures that can happen when communicating with App Services. See AppException for details.