Authentication

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.

    
copy
ZCatalystApp.shared.newUser( lastName : String, email : String ) -> ZCatalystUser

Parameters:

  • 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:

    
copy
ZCatalystApp.shared.newUser( lastName : "Burrows", email : "emma@zylker.com" ) -> ZCatalystUser

Last Updated 2023-12-15 18:54:08 +0530 +0530

ON THIS PAGE