@spaceblocks/permissions-client
v2.11.0
Published
Client-SDK for Space Blocks Permissions
Downloads
62
Readme
Space Blocks Permissions - Client-SDK
Getting started
Install
yarn add @spaceblocks/permissions-client
Initialize
import { PermissionService } from '@spaceblocks/permissions-client';
const permissionService = new PermissionService(
'SPACE_BLOCKS_ENVIRONMENT_URL',
'SPACE_BLOCKS_API_KEY',
accessTokenFactory, // this function calls Your backend to get the access token
);