Registration
Generated reference for ovok_sdk: registration.
- Stable unknown
- Release candidate since 0.1.0-rc.4
- Development since 0.1.0-dev.23+d339d81
Registration
class RegistrationA new account; the tenant comes from the client's config, as it does for login.
Constructors
Registration.new
Registration({
required String email,
required String password,
required String passwordConfirm,
required String name,
required String surname,
})A registration; passwordConfirm must equal password.
| Parameter | Type | Kind | Default |
|---|---|---|---|
email | String | required named | |
password | String | required named | |
passwordConfirm | String | required named | |
name | String | required named | |
surname | String | required named |
Properties
Registration.email
final String emailThe account's email, used to sign in.
Registration.password
final String passwordThe account's password.
Registration.passwordConfirm
final String passwordConfirmChecked here and never sent.
Registration.name
final String nameThe given name.
Registration.surname
final String surnameThe family name.
Methods
Registration.toBody
Map<String, Object?> toBody(String tenantCode)The request body for tenantCode.
Throws OvokValidationException when password and passwordConfirm
differ.
| Parameter | Type | Kind | Default |
|---|---|---|---|
tenantCode | String | positional |
Returns Map<String, Object?>.
Last updated on