Catalyst Authentication is a component of Catalyst Cloud Scale that enables you to add end-users to your application, customize app login and sign-up forms, manage user accounts and roles, and ensure secure access throughout your application.
Create a New User Instance
You can create a new user instance, and enable the methods defined in this class to access the instance object. This will prevent unnecessary server calls.
You must pass the user’s details to the newUser() method as shown in the code syntax below. You must pass the user’s email address and last name mandatorily to create the instance successfully.
ZCatalystApp.shared.newUser( lastName : String, email : String ) -> ZCatalystUser
- lastName: The last name of the new user
- email: Email address of the user, to which the invitation mail will be sent
A sample code snippet is shown below:
ZCatalystApp.shared.newUser( lastName : "Burrows", email : "firstname.lastname@example.org" ) -> ZCatalystUser
Last Updated 2023-09-03 01:06:41 +0530 +0530
Send your feedback to us