User Signup
You can add a new user to your Catalyst app by calling the signUp() method. You must pass the user instance defined here as the argument to the signup() method.
The code syntax for user signup is given below:
copyZCatalystApp.getInstance().signUp( newUser: ZCatalystUser, success: (Pair<ZCatalystOrg, ZCatalystUser>) → Unit, failure: ((ZCatalystException) → Unit)? ): ZCatalystRequest<ZCatalystResponse<Pair<ZCatalystOrg, ZCatalystUser>>>?
Parameters:
- newUser: The user instance created before this operation
A sample code snippet is shown below:
copyZCatalystApp.getInstance().signUp(user, { success -> println("User Sign up success") }, { exception -> println("User Sign up failed $exception") })
Last Updated 2023-09-03 01:06:41 +0530 +0530
Yes
No
Send your feedback to us
Skip
Submit