UNPKG

@propelauth/javascript

Version:

A library for managing authentication in the browser, backed by PropelAuth

24 lines (23 loc) 690 B
export type OrgMemberInfo = { orgId: string; orgName: string; orgMetadata: { [key: string]: any; }; urlSafeOrgName: string; orgRoleStructure: OrgRoleStructure; userAssignedRole: string; userInheritedRolesPlusCurrentRole: string[]; userPermissions: string[]; userAssignedAdditionalRoles: string[]; legacyOrgId?: string; }; export type OrgIdToOrgMemberInfo = { [orgId: string]: OrgMemberInfo; }; export declare enum OrgRoleStructure { SingleRole = "single_role_in_hierarchy", MultiRole = "multi_role" } export declare const setActiveOrgId: (orgId: string) => void; export declare const getActiveOrgId: () => string | undefined;