createAccount

open suspend override fun createAccount(    username: String,     email: String,     password: String,     profilePhotoUri: Uri?): AuthenticationResult

Used to create a new user account with the provided username, email,password and an optional profilePhotoUri. An instance of AuthenticationResult will be returned to indicate whether an account was successfully created or not.