Read this in other languages: Coming Soon
- Node version 14 or higher is required
- A Momento auth token is required, you can generate one using the Momento Console
To run any of the examples you will need to install the dependencies once first:
npm installThis example demonstrates creating and using Momento API tokens with different permissions
# Run example code
MOMENTO_AUTH_TOKEN=<YOUR AUTH TOKEN> npm run access-controlExample Code: access-control.ts
If you have questions or need help experimenting further, please reach out to us!