register method

Future<AuthSession> register(
  1. String email,
  2. String password
)

Register a new end-user and install the session on this instance.

Implementation

Future<AuthSession> register(String email, String password) {
  return _post('/auth/users', {
    'email': email,
    'password': password,
  }, install: true);
}