@appsemble/utils
Version:
Utility functions used in Appsemble internally
14 lines (13 loc) • 802 B
TypeScript
/**
* All known OAuth2 scopes for client credentials.
*/
export declare const scopes: readonly ["apps:export", "apps:write", "apps:delete", "blocks:write", "blocks:delete", "organizations:write", "resources:read", "resources:write", "assets:write", "groups:read", "groups:write"];
export declare const appOAuth2Scopes: {
readonly email: "Read the user email address.";
readonly openid: "Login the user to the requesting app using OpenID.";
readonly profile: "Read the user profile, including the display name and profile picture.";
readonly 'resources:manage': "Manage app resources on behalf of a user.";
readonly 'groups:read': "Read the groups the user is a part of.";
readonly 'groups:write': "Add new members to a group.";
};
export declare const appOAuth2Scope: string;