Scopes
Scopes allow you to define the level of access that can be provided to access Catalyst components. There are primarily two scopes that define two levels of access:
- Admin: If you initialize your SDK with this scope, you can access all the SDK methods of all the components. There are no restrictions.
- User: If you initialize with this scope, you will only be able to access certain SDK methods of certain Catalyst components.
Notes: By default you will be able to initialize the SDK in the Admin scope.
The following table will provide the complete list of SDK methods present in each Catalyst component, and the scope required to implement them.
Implement SDK Methods with Scopes
copy
// initialize the sdk with user scope
const auth = await new ZCAuth().init(req, {scope: 'user'});
// initialize the sdk with admin scope
const auth = await new ZCAuth().init(req, {scope: 'admin'});
Last Updated 2026-07-02 14:51:41 +0530 IST
Yes
No
Send your feedback to us
Skip
Submit