register

suspend fun register(name: String, email: String, password: String, passwordConfirmation: String): Result<UserResource, Exception>

Register a new user.

Parameters

name

The name of the user.

email

The email of the user.

password

The password of the user.

passwordConfirmation

The password confirmation.