Constructs a new instance of the class with the provided RegistrationDatasource.
The datasource for registration data.
None
A boolean flag indicating whether the user is currently authenticating.
Confirms user registration and logs the user in using the provided email, hash, and reCAPTCHA token.
The email of the user to confirm registration and login.
The hash value for registration confirmation.
The reCAPTCHA token for validation.
A promise that resolves with an ErrorResponse object if there is an error, or undefined if successful.
Registers a user for the service.
Either a boolean value or a RegistrationInput object.
Optional
callbackURL: stringThe URL to redirect to after registration.
Optional
optContext: anyAdditional context information.
A promise that resolves to the registration response.
Represents a Registration class that handles user registration and authentication.