signUpUserWithProps method

Future<Session> signUpUserWithProps(
  1. Map<String, dynamic> properties
)

Implementation

Future<Session> signUpUserWithProps(Map<String, dynamic> properties) async {
  var body = <String, dynamic>{
    "grant_type": "password",
    "client_id": this.config.clientId,
  };
  if (properties != null) body.addAll(properties);
  return apiPost("/access/signup", body)
      .then((res) => processAccessToken(res)
      .then((session) => apiMe().then((u) => session)) );
}