UNPKG

@appsemble/utils

Version:

Utility functions used in Appsemble internally

27 lines (26 loc) 1.11 kB
export const cli = { type: 'oauth2', description: ` OAuth2 login for client credentials. For example the Appsemble CLI uses this. `, flows: { clientCredentials: { tokenUrl: '/auth/oauth2/token', scopes: { 'apps:export': 'Export apps as zip files', 'apps:write': 'Create and update apps', 'apps:delete': 'Delete apps', 'blocks:write': 'Register and update blocks, and publish new block versions.', 'blocks:delete': 'Delete specific block versions.', 'organizations:write': 'Create and manage organizations.', 'resources:read': 'Read app resources on behalf of a user.', 'resources:write': 'Modify app resources on behalf of a user.', 'assets:write': 'Create app assets on behalf of a user.', 'groups:read': 'Read information about the user’s groups.', 'groups:write': 'Read information about the user’s groups.', }, }, }, }; //# sourceMappingURL=cli.js.map