cssp-check-access
v1.0.18
Published
cssp check access
Downloads
29
Readme
checkaccess
CSSP Check Access
Environment
CHECK_ACCESS_URL="https://domainName.com/api/check" CHECK_ACCESS_APP_KEY="APP_SECRET_KEY"
how to
checkAccess('booking','create') checkAccess('booking','create', 'JWT-TOKEN-COOKIE-NAME') checkAccess('booking','create', 'SOME-JWT-TOKEN-TO-AUTH-TO-SERVER', 'admin')