This package provides authentication functionalities for the Node SDK. It includes methods to handle user authentication and token management.
npm install @zcatalyst/auth-clientThis package provides authentication functionalities for the Node SDK. It includes methods to handle user authentication and token management.
``bash`
npm install @zcatalyst/auth-client
Import the AuthClient module and use its methods as needed:
`javascript
const { zcAuth } = require('@zcatalyst/auth-client');
// Example usage
zcAuth.signIn('id', {})
.then(token => {
console.log('Authentication successful:', token);
})
.catch(err => {
console.error('Authentication failed:', err);
});
``
This package is licensed under the Apache 2.0 License. See the LICENSE file for details.