@burdenoff/microfe-auth 2026.523.1 → 2026.525.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (153) hide show
  1. package/dist/auth/hooks/useOAuthOperations.js +35 -18
  2. package/dist/auth/hooks/useOAuthOperations.js.map +1 -1
  3. package/dist/auth/pages/LoginPage.js +177 -156
  4. package/dist/auth/pages/LoginPage.js.map +1 -1
  5. package/package.json +1 -1
  6. package/dist/auth/AuthRoot.d.ts +0 -30
  7. package/dist/auth/AuthRoot.d.ts.map +0 -1
  8. package/dist/auth/AuthRoutes.d.ts +0 -30
  9. package/dist/auth/AuthRoutes.d.ts.map +0 -1
  10. package/dist/auth/components/AuthIcons.d.ts +0 -17
  11. package/dist/auth/components/AuthIcons.d.ts.map +0 -1
  12. package/dist/auth/components/AuthLayout.d.ts +0 -17
  13. package/dist/auth/components/AuthLayout.d.ts.map +0 -1
  14. package/dist/auth/components/CaptchaV2.d.ts +0 -16
  15. package/dist/auth/components/CaptchaV2.d.ts.map +0 -1
  16. package/dist/auth/components/ConfirmActionDialog.d.ts +0 -16
  17. package/dist/auth/components/ConfirmActionDialog.d.ts.map +0 -1
  18. package/dist/auth/components/index.d.ts +0 -4
  19. package/dist/auth/components/index.d.ts.map +0 -1
  20. package/dist/auth/components/profile/UserProfileMenu.d.ts +0 -42
  21. package/dist/auth/components/profile/UserProfileMenu.d.ts.map +0 -1
  22. package/dist/auth/components/workspace/WorkspaceSelector.d.ts +0 -76
  23. package/dist/auth/components/workspace/WorkspaceSelector.d.ts.map +0 -1
  24. package/dist/auth/constants/permissions.d.ts +0 -30
  25. package/dist/auth/constants/permissions.d.ts.map +0 -1
  26. package/dist/auth/constants/sessionKeys.d.ts +0 -18
  27. package/dist/auth/constants/sessionKeys.d.ts.map +0 -1
  28. package/dist/auth/hooks/index.d.ts +0 -18
  29. package/dist/auth/hooks/index.d.ts.map +0 -1
  30. package/dist/auth/hooks/useAccountOperations.d.ts +0 -19
  31. package/dist/auth/hooks/useAccountOperations.d.ts.map +0 -1
  32. package/dist/auth/hooks/useApiKeyOperations.d.ts +0 -26
  33. package/dist/auth/hooks/useApiKeyOperations.d.ts.map +0 -1
  34. package/dist/auth/hooks/useAppOperations.d.ts +0 -30
  35. package/dist/auth/hooks/useAppOperations.d.ts.map +0 -1
  36. package/dist/auth/hooks/useAuthOperations.d.ts +0 -57
  37. package/dist/auth/hooks/useAuthOperations.d.ts.map +0 -1
  38. package/dist/auth/hooks/useAuthPermissions.d.ts +0 -20
  39. package/dist/auth/hooks/useAuthPermissions.d.ts.map +0 -1
  40. package/dist/auth/hooks/useCaptchaV3.d.ts +0 -13
  41. package/dist/auth/hooks/useCaptchaV3.d.ts.map +0 -1
  42. package/dist/auth/hooks/useContextSwitcherData.d.ts +0 -106
  43. package/dist/auth/hooks/useContextSwitcherData.d.ts.map +0 -1
  44. package/dist/auth/hooks/useDelegationOperations.d.ts +0 -33
  45. package/dist/auth/hooks/useDelegationOperations.d.ts.map +0 -1
  46. package/dist/auth/hooks/useMfaOperations.d.ts +0 -18
  47. package/dist/auth/hooks/useMfaOperations.d.ts.map +0 -1
  48. package/dist/auth/hooks/useMyWorkspaces.d.ts +0 -45
  49. package/dist/auth/hooks/useMyWorkspaces.d.ts.map +0 -1
  50. package/dist/auth/hooks/useOAuthOperations.d.ts +0 -19
  51. package/dist/auth/hooks/useOAuthOperations.d.ts.map +0 -1
  52. package/dist/auth/hooks/usePasswordOperations.d.ts +0 -13
  53. package/dist/auth/hooks/usePasswordOperations.d.ts.map +0 -1
  54. package/dist/auth/hooks/useSessionOperations.d.ts +0 -52
  55. package/dist/auth/hooks/useSessionOperations.d.ts.map +0 -1
  56. package/dist/auth/hooks/useSsoOperations.d.ts +0 -65
  57. package/dist/auth/hooks/useSsoOperations.d.ts.map +0 -1
  58. package/dist/auth/hooks/useTokenRefresh.d.ts +0 -56
  59. package/dist/auth/hooks/useTokenRefresh.d.ts.map +0 -1
  60. package/dist/auth/hooks/useUserOperations.d.ts +0 -33
  61. package/dist/auth/hooks/useUserOperations.d.ts.map +0 -1
  62. package/dist/auth/hooks/useWorkspaceOperations.d.ts +0 -35
  63. package/dist/auth/hooks/useWorkspaceOperations.d.ts.map +0 -1
  64. package/dist/auth/hooks/useWorkspaceToken.d.ts +0 -56
  65. package/dist/auth/hooks/useWorkspaceToken.d.ts.map +0 -1
  66. package/dist/auth/index.d.ts +0 -63
  67. package/dist/auth/index.d.ts.map +0 -1
  68. package/dist/auth/pages/AuditLogPage.d.ts +0 -12
  69. package/dist/auth/pages/AuditLogPage.d.ts.map +0 -1
  70. package/dist/auth/pages/EmailVerifyPage.d.ts +0 -5
  71. package/dist/auth/pages/EmailVerifyPage.d.ts.map +0 -1
  72. package/dist/auth/pages/LoginPage.d.ts +0 -6
  73. package/dist/auth/pages/LoginPage.d.ts.map +0 -1
  74. package/dist/auth/pages/MagicLinkPage.d.ts +0 -6
  75. package/dist/auth/pages/MagicLinkPage.d.ts.map +0 -1
  76. package/dist/auth/pages/MfaSetupPage.d.ts +0 -5
  77. package/dist/auth/pages/MfaSetupPage.d.ts.map +0 -1
  78. package/dist/auth/pages/MfaVerifyPage.d.ts +0 -7
  79. package/dist/auth/pages/MfaVerifyPage.d.ts.map +0 -1
  80. package/dist/auth/pages/OAuthCallbackPage.d.ts +0 -7
  81. package/dist/auth/pages/OAuthCallbackPage.d.ts.map +0 -1
  82. package/dist/auth/pages/PasswordResetPage.d.ts +0 -6
  83. package/dist/auth/pages/PasswordResetPage.d.ts.map +0 -1
  84. package/dist/auth/pages/ReactivatePage.d.ts +0 -6
  85. package/dist/auth/pages/ReactivatePage.d.ts.map +0 -1
  86. package/dist/auth/pages/RegisterPage.d.ts +0 -5
  87. package/dist/auth/pages/RegisterPage.d.ts.map +0 -1
  88. package/dist/auth/pages/SSOClearPage.d.ts +0 -22
  89. package/dist/auth/pages/SSOClearPage.d.ts.map +0 -1
  90. package/dist/auth/pages/SSODepositPage.d.ts +0 -24
  91. package/dist/auth/pages/SSODepositPage.d.ts.map +0 -1
  92. package/dist/auth/pages/SSORelayCallbackPage.d.ts +0 -8
  93. package/dist/auth/pages/SSORelayCallbackPage.d.ts.map +0 -1
  94. package/dist/auth/pages/SSORelayPage.d.ts +0 -18
  95. package/dist/auth/pages/SSORelayPage.d.ts.map +0 -1
  96. package/dist/auth/pages/SecurityPage.d.ts +0 -5
  97. package/dist/auth/pages/SecurityPage.d.ts.map +0 -1
  98. package/dist/auth/pages/SessionBridgePage.d.ts +0 -14
  99. package/dist/auth/pages/SessionBridgePage.d.ts.map +0 -1
  100. package/dist/auth/pages/SessionsPage.d.ts +0 -8
  101. package/dist/auth/pages/SessionsPage.d.ts.map +0 -1
  102. package/dist/auth/pages/SsoCallbackPage.d.ts +0 -8
  103. package/dist/auth/pages/SsoCallbackPage.d.ts.map +0 -1
  104. package/dist/auth/pages/SsoConfigPage.d.ts +0 -13
  105. package/dist/auth/pages/SsoConfigPage.d.ts.map +0 -1
  106. package/dist/auth/pages/SsoLoginPage.d.ts +0 -7
  107. package/dist/auth/pages/SsoLoginPage.d.ts.map +0 -1
  108. package/dist/auth/pages/UserDetailsPage.d.ts +0 -11
  109. package/dist/auth/pages/UserDetailsPage.d.ts.map +0 -1
  110. package/dist/auth/pages/UserProfilePage.d.ts +0 -5
  111. package/dist/auth/pages/UserProfilePage.d.ts.map +0 -1
  112. package/dist/auth/pages/UsersPage.d.ts +0 -5
  113. package/dist/auth/pages/UsersPage.d.ts.map +0 -1
  114. package/dist/auth/providers/AuthProvider.d.ts +0 -18
  115. package/dist/auth/providers/AuthProvider.d.ts.map +0 -1
  116. package/dist/auth/providers/CaptchaProvider.d.ts +0 -13
  117. package/dist/auth/providers/CaptchaProvider.d.ts.map +0 -1
  118. package/dist/auth/store/authStore.d.ts +0 -111
  119. package/dist/auth/store/authStore.d.ts.map +0 -1
  120. package/dist/auth/types/index.d.ts +0 -643
  121. package/dist/auth/types/index.d.ts.map +0 -1
  122. package/dist/auth/utils/captchaConfig.d.ts +0 -4
  123. package/dist/auth/utils/captchaConfig.d.ts.map +0 -1
  124. package/dist/auth/utils/formatters.d.ts +0 -37
  125. package/dist/auth/utils/formatters.d.ts.map +0 -1
  126. package/dist/auth/utils/gatewayBaseUrls.d.ts +0 -6
  127. package/dist/auth/utils/gatewayBaseUrls.d.ts.map +0 -1
  128. package/dist/auth/utils/index.d.ts +0 -3
  129. package/dist/auth/utils/index.d.ts.map +0 -1
  130. package/dist/auth/utils/validation.d.ts +0 -30
  131. package/dist/auth/utils/validation.d.ts.map +0 -1
  132. package/dist/dev/main.d.ts +0 -2
  133. package/dist/dev/main.d.ts.map +0 -1
  134. package/dist/generated/global-operations.d.ts +0 -3096
  135. package/dist/generated/global-operations.d.ts.map +0 -1
  136. package/dist/generated/global-types.d.ts +0 -23529
  137. package/dist/generated/global-types.d.ts.map +0 -1
  138. package/dist/generated/wspace-operations.d.ts +0 -124
  139. package/dist/generated/wspace-operations.d.ts.map +0 -1
  140. package/dist/generated/wspace-types.d.ts +0 -57851
  141. package/dist/generated/wspace-types.d.ts.map +0 -1
  142. package/dist/index.d.ts +0 -4
  143. package/dist/index.d.ts.map +0 -1
  144. package/dist/shared/hooks/index.d.ts +0 -7
  145. package/dist/shared/hooks/index.d.ts.map +0 -1
  146. package/dist/shared/index.d.ts +0 -6
  147. package/dist/shared/index.d.ts.map +0 -1
  148. package/dist/shared/types/index.d.ts +0 -109
  149. package/dist/shared/types/index.d.ts.map +0 -1
  150. package/dist/translations/en.d.ts +0 -321
  151. package/dist/translations/en.d.ts.map +0 -1
  152. package/dist/utils/nativeBridge.d.ts +0 -3
  153. package/dist/utils/nativeBridge.d.ts.map +0 -1
@@ -1,65 +0,0 @@
1
- import { AuthResult, SSOConfig } from '../types';
2
-
3
- interface GetSSOConfigResponse {
4
- getSSOConfig: SSOConfig | null;
5
- }
6
- interface GetSSOConfigVariables {
7
- tenantId: string;
8
- }
9
- export interface SSOConfigInput {
10
- entityId: string;
11
- ssoUrl: string;
12
- sloUrl?: string;
13
- certificate: string;
14
- enabled?: boolean;
15
- metadata?: Record<string, unknown>;
16
- }
17
- export interface SAMLRequestResult {
18
- requestId: string;
19
- ssoUrl: string;
20
- samlRequest: string;
21
- }
22
- export interface ExternalOIDCAuthUrlResult {
23
- authUrl: string;
24
- state: string;
25
- nonce: string;
26
- codeVerifier: string;
27
- relayState?: string;
28
- }
29
- export interface OIDCConfig {
30
- issuer: string;
31
- authorizationEndpoint: string;
32
- tokenEndpoint: string;
33
- userinfoEndpoint: string;
34
- jwksUri: string;
35
- registrationEndpoint?: string;
36
- scopesSupported: string[];
37
- responseTypesSupported: string[];
38
- grantTypesSupported: string[];
39
- }
40
- /**
41
- * Hook for SSO/SAML operations
42
- */
43
- export declare function useSsoOperations(tenantId?: string): {
44
- initiateSsoLogin: (targetTenantId: string, relayState?: string) => Promise<void>;
45
- handleSamlCallback: (samlResponse: string, relayState?: string) => Promise<AuthResult>;
46
- saveSsoConfig: (configOrTenantId: SSOConfigInput | string, config?: SSOConfigInput) => Promise<SSOConfig>;
47
- deleteSsoConfig: (targetTenantId?: string) => Promise<boolean>;
48
- getOidcAuthUrl: (clientId: string, redirectUri: string, scopes?: string[]) => Promise<string>;
49
- exchangeOidcCode: (code: string, clientId: string, redirectUri: string) => Promise<AuthResult>;
50
- validateOidcState: (state: string) => boolean;
51
- initiateExternalOidcLogin: (targetTenantId: string, redirectPath?: string) => Promise<void>;
52
- handleExternalOidcCallback: (code: string, state: string) => Promise<AuthResult>;
53
- isExternalOidcCallback: () => boolean;
54
- ssoConfig: SSOConfig | undefined;
55
- oidcConfig: OIDCConfig | undefined;
56
- isLoading: boolean;
57
- isGeneratingRequest: boolean;
58
- isAuthenticating: boolean;
59
- isSaving: boolean;
60
- isDeleting: boolean;
61
- isGeneratingOidcUrl: boolean;
62
- refetchConfig: (variables?: Partial<GetSSOConfigVariables> | undefined) => Promise<import("@apollo/client").ApolloClient.QueryResult<GetSSOConfigResponse>>;
63
- };
64
- export {};
65
- //# sourceMappingURL=useSsoOperations.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"useSsoOperations.d.ts","sourceRoot":"","sources":["../../../src/auth/hooks/useSsoOperations.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,UAAU,EAAE,SAAS,EAAQ,MAAM,UAAU,CAAC;AAwB5D,UAAU,oBAAoB;IAC5B,YAAY,EAAE,SAAS,GAAG,IAAI,CAAC;CAChC;AAED,UAAU,qBAAqB;IAC7B,QAAQ,EAAE,MAAM,CAAC;CAClB;AAkFD,MAAM,WAAW,cAAc;IAC7B,QAAQ,EAAE,MAAM,CAAC;IACjB,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,WAAW,EAAE,MAAM,CAAC;IACpB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;CACpC;AAED,MAAM,WAAW,iBAAiB;IAChC,SAAS,EAAE,MAAM,CAAC;IAClB,MAAM,EAAE,MAAM,CAAC;IACf,WAAW,EAAE,MAAM,CAAC;CACrB;AAED,MAAM,WAAW,yBAAyB;IACxC,OAAO,EAAE,MAAM,CAAC;IAChB,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,YAAY,EAAE,MAAM,CAAC;IACrB,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAED,MAAM,WAAW,UAAU;IACzB,MAAM,EAAE,MAAM,CAAC;IACf,qBAAqB,EAAE,MAAM,CAAC;IAC9B,aAAa,EAAE,MAAM,CAAC;IACtB,gBAAgB,EAAE,MAAM,CAAC;IACzB,OAAO,EAAE,MAAM,CAAC;IAChB,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAC9B,eAAe,EAAE,MAAM,EAAE,CAAC;IAC1B,sBAAsB,EAAE,MAAM,EAAE,CAAC;IACjC,mBAAmB,EAAE,MAAM,EAAE,CAAC;CAC/B;AAiCD;;GAEG;AACH,wBAAgB,gBAAgB,CAAC,QAAQ,CAAC,EAAE,MAAM;uCAkD9B,MAAM,eACT,MAAM,KAClB,OAAO,CAAC,IAAI,CAAC;uCA0CA,MAAM,eACP,MAAM,KAClB,OAAO,CAAC,UAAU,CAAC;sCAwNF,cAAc,GAAG,MAAM,WAChC,cAAc,KACtB,OAAO,CAAC,SAAS,CAAC;uCAyB2B,MAAM,KAAG,OAAO,CAAC,OAAO,CAAC;+BAsB7D,MAAM,eACH,MAAM,WACX,MAAM,EAAE,KACf,OAAO,CAAC,MAAM,CAAC;6BAgCV,MAAM,YACF,MAAM,eACH,MAAM,KAClB,OAAO,CAAC,UAAU,CAAC;+BAoGY,MAAM,KAAG,OAAO;gDAhWhC,MAAM,iBACP,MAAM,KACpB,OAAO,CAAC,IAAI,CAAC;uCA8CR,MAAM,SACL,MAAM,KACZ,OAAO,CAAC,UAAU,CAAC;kCAsGa,OAAO;;;;;;;;;;EAqP3C"}
@@ -1,56 +0,0 @@
1
- /**
2
- * Automatic workspace token refresh hook
3
- *
4
- * Monitors the workspace token and automatically refreshes it
5
- * 5 minutes before expiry. This ensures uninterrupted access to
6
- * workspace resources.
7
- *
8
- * Usage:
9
- * ```tsx
10
- * // In your root App component
11
- * function App() {
12
- * useTokenRefresh({
13
- * workspaceAuthServiceUrl: 'http://localhost:3730/graphql',
14
- * refreshBeforeExpiry: 5 * 60 * 1000, // 5 minutes
15
- * });
16
- *
17
- * return <AppContent />;
18
- * }
19
- * ```
20
- */
21
- export interface UseTokenRefreshOptions {
22
- /**
23
- * URL of workspace auth service GraphQL endpoint
24
- * Default: http://localhost:3730/graphql
25
- */
26
- workspaceAuthServiceUrl?: string;
27
- /**
28
- * Time before expiry to refresh token (in milliseconds)
29
- * Default: 5 minutes (300000ms)
30
- */
31
- refreshBeforeExpiry?: number;
32
- /**
33
- * Enable/disable auto-refresh
34
- * Default: true
35
- */
36
- enabled?: boolean;
37
- /**
38
- * Callback when token refresh succeeds
39
- */
40
- onRefreshSuccess?: (token: string) => void;
41
- /**
42
- * Callback when token refresh fails
43
- */
44
- onRefreshError?: (error: Error) => void;
45
- }
46
- export declare function useTokenRefresh(options?: UseTokenRefreshOptions): {
47
- /**
48
- * Manually trigger a token refresh
49
- */
50
- manualRefresh: () => Promise<string>;
51
- /**
52
- * Check if auto-refresh is currently scheduled
53
- */
54
- isScheduled: boolean;
55
- };
56
- //# sourceMappingURL=useTokenRefresh.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"useTokenRefresh.d.ts","sourceRoot":"","sources":["../../../src/auth/hooks/useTokenRefresh.ts"],"names":[],"mappings":"AAIA;;;;;;;;;;;;;;;;;;;GAmBG;AACH,MAAM,WAAW,sBAAsB;IACrC;;;OAGG;IACH,uBAAuB,CAAC,EAAE,MAAM,CAAC;IAEjC;;;OAGG;IACH,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAE7B;;;OAGG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAElB;;OAEG;IACH,gBAAgB,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAE3C;;OAEG;IACH,cAAc,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,KAAK,IAAI,CAAC;CACzC;AAED,wBAAgB,eAAe,CAAC,OAAO,GAAE,sBAA2B;IAyGhE;;OAEG;;IAGH;;OAEG;;EAGN"}
@@ -1,33 +0,0 @@
1
- import { User, UserConnection, UserFilterInput, PaginationInput, DeleteUserResult } from '../types';
2
-
3
- interface UpdateUserProfileInput {
4
- avatar?: string;
5
- username?: string;
6
- firstName?: string;
7
- lastName?: string;
8
- name?: string;
9
- phoneNumber?: string;
10
- defaultWorkspaceId?: string;
11
- language?: string;
12
- timezone?: string;
13
- }
14
- interface AdminUpdateUserInput extends UpdateUserProfileInput {
15
- role?: string;
16
- status?: string;
17
- emailVerified?: boolean;
18
- }
19
- /**
20
- * Hook for user management operations
21
- */
22
- export declare function useUserOperations(): {
23
- getUser: (id: string) => Promise<User | null>;
24
- listUsers: (filter?: UserFilterInput, pagination?: PaginationInput) => Promise<UserConnection>;
25
- updateCurrentUserProfile: (input: UpdateUserProfileInput) => Promise<User>;
26
- updateUser: (id: string, input: AdminUpdateUserInput) => Promise<User>;
27
- deleteUser: (id: string) => Promise<DeleteUserResult>;
28
- hardDeleteUser: (id: string) => Promise<DeleteUserResult>;
29
- currentUser: User | null;
30
- isLoading: boolean;
31
- };
32
- export {};
33
- //# sourceMappingURL=useUserOperations.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"useUserOperations.d.ts","sourceRoot":"","sources":["../../../src/auth/hooks/useUserOperations.ts"],"names":[],"mappings":"AAWA,OAAO,KAAK,EACV,IAAI,EACJ,cAAc,EACd,eAAe,EACf,eAAe,EACf,gBAAgB,EACjB,MAAM,UAAU,CAAC;AA2DlB,UAAU,sBAAsB;IAC9B,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAED,UAAU,oBAAqB,SAAQ,sBAAsB;IAC3D,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,aAAa,CAAC,EAAE,OAAO,CAAC;CACzB;AAED;;GAEG;AACH,wBAAgB,iBAAiB;kBAuClB,MAAM,KAAG,OAAO,CAAC,IAAI,GAAG,IAAI,CAAC;yBAsB7B,eAAe,eACX,eAAe,KAC3B,OAAO,CAAC,cAAc,CAAC;sCAyBZ,sBAAsB,KAAG,OAAO,CAAC,IAAI,CAAC;qBAgCzC,MAAM,SAAS,oBAAoB,KAAG,OAAO,CAAC,IAAI,CAAC;qBA0BnD,MAAM,KAAG,OAAO,CAAC,gBAAgB,CAAC;yBA0BlC,MAAM,KAAG,OAAO,CAAC,gBAAgB,CAAC;;;EAiChD"}
@@ -1,35 +0,0 @@
1
- import { useMutation } from '@apollo/client/react';
2
- import { WorkspaceTokenResponse, SecretRotationResponse, RotateWorkspaceSecretInput } from '../types';
3
-
4
- /**
5
- * Hook for workspace token and secret operations
6
- */
7
- export declare function useWorkspaceOperations(): {
8
- generateWorkspaceToken: (_workspaceId: string) => Promise<WorkspaceTokenResponse>;
9
- switchWorkspace: (workspaceId: string) => Promise<WorkspaceTokenResponse>;
10
- createWorkspaceSecret: (_workspaceId: string) => Promise<boolean>;
11
- rotateWorkspaceSecret: (_input: RotateWorkspaceSecretInput) => Promise<SecretRotationResponse>;
12
- revokeWorkspaceSecret: (_workspaceId: string) => Promise<boolean>;
13
- revokeWorkspaceToken: (_token: string, _reason?: string) => Promise<boolean>;
14
- revokeAllMyWorkspaceTokens: (_reason?: string) => Promise<number>;
15
- clearWorkspace: () => void;
16
- createWorkspaceMutation: useMutation.MutationFunction<unknown, {
17
- [x: string]: any;
18
- }, import('@apollo/client').ApolloCache>;
19
- updateWorkspaceMutation: useMutation.MutationFunction<unknown, {
20
- [x: string]: any;
21
- }, import('@apollo/client').ApolloCache>;
22
- addWorkspaceMemberMutation: useMutation.MutationFunction<unknown, {
23
- [x: string]: any;
24
- }, import('@apollo/client').ApolloCache>;
25
- updateWorkspaceMemberMutation: useMutation.MutationFunction<unknown, {
26
- [x: string]: any;
27
- }, import('@apollo/client').ApolloCache>;
28
- removeWorkspaceMemberMutation: useMutation.MutationFunction<unknown, {
29
- [x: string]: any;
30
- }, import('@apollo/client').ApolloCache>;
31
- currentWorkspaceId: string | null;
32
- workspaceToken: string | null;
33
- isLoading: boolean;
34
- };
35
- //# sourceMappingURL=useWorkspaceOperations.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"useWorkspaceOperations.d.ts","sourceRoot":"","sources":["../../../src/auth/hooks/useWorkspaceOperations.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AASnD,OAAO,KAAK,EACV,sBAAsB,EACtB,sBAAsB,EACtB,0BAA0B,EAC3B,MAAM,UAAU,CAAC;AAalB;;GAEG;AACH,wBAAgB,sBAAsB;2CAqBpB,MAAM,KACnB,OAAO,CAAC,sBAAsB,CAAC;mCAcnB,MAAM,KAClB,OAAO,CAAC,sBAAsB,CAAC;0CAalB,MAAM,KACnB,OAAO,CAAC,OAAO,CAAC;oCAYT,0BAA0B,KACjC,OAAO,CAAC,sBAAsB,CAAC;0CAclB,MAAM,KACnB,OAAO,CAAC,OAAO,CAAC;mCAYT,MAAM,YACJ,MAAM,KACf,OAAO,CAAC,OAAO,CAAC;2CAYP,MAAM,KACf,OAAO,CAAC,MAAM,CAAC;;;;;;;;;;;;;;;;;;;;EAmCnB"}
@@ -1,56 +0,0 @@
1
- /**
2
- * Workspace token management hook
3
- *
4
- * Provides functions to issue, refresh, and verify workspace tokens.
5
- * Automatically updates the auth store with new tokens.
6
- *
7
- * API Flow:
8
- * - Calls workspace gateway (https://gw-wspace.local.burdenoff.com/workspaces/graphql)
9
- * - Gateway federates wspace-auth-svc which handles token operations
10
- * - Auth token (from global-auth-svc) goes in Authorization header
11
- *
12
- * Usage:
13
- * ```tsx
14
- * const { issueToken, refreshToken, verifyToken, isLoading, error } = useWorkspaceToken({
15
- * workspaceGatewayUrl: 'https://gw-wspace.local.burdenoff.com/workspaces/graphql'
16
- * });
17
- *
18
- * // After login and organization/workspace selection
19
- * await issueToken(organizationId, workspaceId);
20
- *
21
- * // Refresh token before expiry (uses stored org/workspace IDs)
22
- * await refreshToken();
23
- * ```
24
- */
25
- export interface UseWorkspaceTokenOptions {
26
- /**
27
- * URL of workspace gateway GraphQL endpoint
28
- * Default: https://gw-wspace.local.burdenoff.com/workspaces/graphql
29
- *
30
- * Note: This should point to the workspace gateway, NOT directly to wspace-auth-svc.
31
- * The gateway federates wspace-auth-svc and handles routing.
32
- */
33
- workspaceGatewayUrl?: string;
34
- }
35
- export interface WorkspaceTokenPayload {
36
- sub: string;
37
- workspaceId: string;
38
- tenantId?: string;
39
- email?: string;
40
- username?: string;
41
- role?: string;
42
- scopes: string[];
43
- iat: number;
44
- exp: number;
45
- }
46
- export declare function useWorkspaceToken(options?: UseWorkspaceTokenOptions): {
47
- issueToken: (organizationId: string, workspaceId?: string, projectId?: string, scopes?: string[]) => Promise<string>;
48
- refreshToken: () => Promise<string>;
49
- verifyToken: (token?: string) => Promise<WorkspaceTokenPayload>;
50
- decodeToken: (token: string) => WorkspaceTokenPayload;
51
- isTokenExpired: (token?: string) => boolean;
52
- getTimeUntilExpiry: (token?: string) => number;
53
- isLoading: boolean;
54
- error: string | null;
55
- };
56
- //# sourceMappingURL=useWorkspaceToken.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"useWorkspaceToken.d.ts","sourceRoot":"","sources":["../../../src/auth/hooks/useWorkspaceToken.ts"],"names":[],"mappings":"AAIA;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,MAAM,WAAW,wBAAwB;IACvC;;;;;;OAMG;IACH,mBAAmB,CAAC,EAAE,MAAM,CAAC;CAC9B;AAED,MAAM,WAAW,qBAAqB;IACpC,GAAG,EAAE,MAAM,CAAC;IACZ,WAAW,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,EAAE,CAAC;IACjB,GAAG,EAAE,MAAM,CAAC;IACZ,GAAG,EAAE,MAAM,CAAC;CACb;AAED,wBAAgB,iBAAiB,CAAC,OAAO,GAAE,wBAA6B;iCAkBlD,MAAM,gBACR,MAAM,cACR,MAAM,WACT,MAAM,EAAE,KAChB,OAAO,CAAC,MAAM,CAAC;wBAoKuB,OAAO,CAAC,MAAM,CAAC;0BA7EzC,MAAM,KAAG,OAAO,CAAC,qBAAqB,CAAC;yBAyFhB,MAAM,KAAG,qBAAqB;6BAoB3D,MAAM,KAAG,OAAO;iCAsBhB,MAAM,KAAG,MAAM;;;EA6B3B"}
@@ -1,63 +0,0 @@
1
- /**
2
- * Auth Microfrontend
3
- *
4
- * Provides authentication, security settings, and account management interface
5
- * for the Burdenoff multi-tenant platform.
6
- *
7
- * Features:
8
- * - User authentication (signIn, signUp, signOut, refreshToken)
9
- * - MFA (TOTP, SMS, Email, WebAuthn)
10
- * - OAuth and SAML SSO
11
- * - Magic Link authentication
12
- * - Workspace token management
13
- * - User management (admin)
14
- *
15
- * Note: API Key management, App management, and App-user delegations
16
- * have been consolidated into microfe-devportal.
17
- *
18
- * @example
19
- * ```tsx
20
- * import { AuthRoot, type AuthRootProps } from '@burdenoff/microfe-auth';
21
- *
22
- * function App() {
23
- * const props: AuthRootProps = {
24
- * basePath: '/auth',
25
- * navigate: (path) => router.push(path),
26
- * apiGatewayUrl: 'https://gw-global.local.burdenoff.com',
27
- * authToken: 'token',
28
- * onAuthSuccess: (user) => shellLogin(user),
29
- * onLogout: () => shellLogout(),
30
- * };
31
- *
32
- * return <AuthRoot {...props} />;
33
- * }
34
- * ```
35
- */
36
- export { AuthRoot } from './AuthRoot';
37
- export type { AuthRootProps, User, UserRole, UserStatus, UserConnection, UserFilterInput, PaginationInput, } from './types';
38
- export type { AuthType, AuthMethod, AuthMethodConfig, AuthStrategyHealth, AuthPayload, AuthResult, SignInInput, SignUpInput, ChangePasswordInput, } from './types';
39
- export type { MFAMethod, MFASetupResult, MFAVerifyInput } from './types';
40
- export type { OAuthInput, SAMLInput, SAMLRequestResult } from './types';
41
- export type { AuthContext, MagicLinkSendResult } from './types';
42
- export type { Organization, OrganizationConnection } from './types';
43
- export type { Project, ProjectStatus, ProjectConnection } from './types';
44
- export type { Workspace, WorkspaceSecretStatus, WorkspaceSecretInfo, WorkspaceTokenResponse, GenerateWorkspaceTokenInput, RotateWorkspaceSecretInput, SecretRotationResponse, } from './types';
45
- export type { TokenValidationError, TokenValidationResponse, ValidateTokensInput, } from './types';
46
- export type { EmailVerificationResult, ResendVerificationResult, PasswordResetRequestResult, DeleteUserResult, } from './types';
47
- export type { Session, MfaDevice, OAuthAccount, SecurityAudit, OAuthProvider, SecurityEventType, TrustedDevice, SSOConfig, PasswordStrength, } from './types';
48
- export { useAuth } from './providers/AuthProvider';
49
- export { useAuthOperations, useMfaOperations, useSessionOperations, usePasswordOperations, useAuthStore, } from './hooks';
50
- export { useWorkspaceOperations } from './hooks';
51
- export { useUserOperations } from './hooks';
52
- export { useWorkspaceToken } from './hooks/useWorkspaceToken';
53
- export { useTokenRefresh } from './hooks/useTokenRefresh';
54
- export { useContextSwitcherData, useWorkspaceSyncEffect, useProjectSyncEffect, } from './hooks';
55
- export { useMyWorkspaces } from './hooks';
56
- export type { UseContextSwitcherDataOptions } from './hooks';
57
- export { WorkspaceSelector } from './components/workspace/WorkspaceSelector';
58
- export type { WorkspaceSelectorProps } from './components/workspace/WorkspaceSelector';
59
- export { UserProfileMenu } from './components/profile/UserProfileMenu';
60
- export type { UserProfileMenuProps } from './components/profile/UserProfileMenu';
61
- export { SSORelayPage } from './pages/SSORelayPage';
62
- export { SSORelayCallbackPage } from './pages/SSORelayCallbackPage';
63
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/auth/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkCG;AAGH,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAGtC,YAAY,EACV,aAAa,EACb,IAAI,EACJ,QAAQ,EACR,UAAU,EACV,cAAc,EACd,eAAe,EACf,eAAe,GAChB,MAAM,SAAS,CAAC;AAGjB,YAAY,EACV,QAAQ,EACR,UAAU,EACV,gBAAgB,EAChB,kBAAkB,EAClB,WAAW,EACX,UAAU,EACV,WAAW,EACX,WAAW,EACX,mBAAmB,GACpB,MAAM,SAAS,CAAC;AAGjB,YAAY,EAAE,SAAS,EAAE,cAAc,EAAE,cAAc,EAAE,MAAM,SAAS,CAAC;AAGzE,YAAY,EAAE,UAAU,EAAE,SAAS,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAC;AAGxE,YAAY,EAAE,WAAW,EAAE,mBAAmB,EAAE,MAAM,SAAS,CAAC;AAGhE,YAAY,EAAE,YAAY,EAAE,sBAAsB,EAAE,MAAM,SAAS,CAAC;AAGpE,YAAY,EAAE,OAAO,EAAE,aAAa,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAC;AAGzE,YAAY,EACV,SAAS,EACT,qBAAqB,EACrB,mBAAmB,EACnB,sBAAsB,EACtB,2BAA2B,EAC3B,0BAA0B,EAC1B,sBAAsB,GACvB,MAAM,SAAS,CAAC;AAGjB,YAAY,EACV,oBAAoB,EACpB,uBAAuB,EACvB,mBAAmB,GACpB,MAAM,SAAS,CAAC;AAGjB,YAAY,EACV,uBAAuB,EACvB,wBAAwB,EACxB,0BAA0B,EAC1B,gBAAgB,GACjB,MAAM,SAAS,CAAC;AAGjB,YAAY,EACV,OAAO,EACP,SAAS,EACT,YAAY,EACZ,aAAa,EACb,aAAa,EACb,iBAAiB,EACjB,aAAa,EACb,SAAS,EACT,gBAAgB,GACjB,MAAM,SAAS,CAAC;AAGjB,OAAO,EAAE,OAAO,EAAE,MAAM,0BAA0B,CAAC;AAGnD,OAAO,EACL,iBAAiB,EACjB,gBAAgB,EAChB,oBAAoB,EACpB,qBAAqB,EACrB,YAAY,GACb,MAAM,SAAS,CAAC;AAGjB,OAAO,EAAE,sBAAsB,EAAE,MAAM,SAAS,CAAC;AACjD,OAAO,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAC;AAC5C,OAAO,EAAE,iBAAiB,EAAE,MAAM,2BAA2B,CAAC;AAC9D,OAAO,EAAE,eAAe,EAAE,MAAM,yBAAyB,CAAC;AAG1D,OAAO,EACL,sBAAsB,EACtB,sBAAsB,EACtB,oBAAoB,GACrB,MAAM,SAAS,CAAC;AACjB,OAAO,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAC1C,YAAY,EAAE,6BAA6B,EAAE,MAAM,SAAS,CAAC;AAG7D,OAAO,EAAE,iBAAiB,EAAE,MAAM,0CAA0C,CAAC;AAC7E,YAAY,EAAE,sBAAsB,EAAE,MAAM,0CAA0C,CAAC;AAGvF,OAAO,EAAE,eAAe,EAAE,MAAM,sCAAsC,CAAC;AACvE,YAAY,EAAE,oBAAoB,EAAE,MAAM,sCAAsC,CAAC;AAGjF,OAAO,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAC;AACpD,OAAO,EAAE,oBAAoB,EAAE,MAAM,8BAA8B,CAAC"}
@@ -1,12 +0,0 @@
1
- /**
2
- * Security audit log page with pagination and export
3
- *
4
- * Fragment: AuditLogEntry_AuthAuditLog (graphql/operations/global/fragments/AuditLogEntry.fragment.graphql)
5
- * Query: AuthAuditLogs (graphql/operations/global/queries/auditLog.graphql)
6
- *
7
- * TODO: When authAuditLogs backend migrates to AuthAuditLogConnection type,
8
- * update this query to use: authAuditLogs { auditLogs: [...], totalCount, hasMore }
9
- * and remove the client-side hasMore approximation below.
10
- */
11
- export declare function AuditLogPage(): import("react/jsx-runtime").JSX.Element;
12
- //# sourceMappingURL=AuditLogPage.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"AuditLogPage.d.ts","sourceRoot":"","sources":["../../../src/auth/pages/AuditLogPage.tsx"],"names":[],"mappings":"AAcA;;;;;;;;;GASG;AACH,wBAAgB,YAAY,4CA4Q3B"}
@@ -1,5 +0,0 @@
1
- /**
2
- * Email verification page with professional design
3
- */
4
- export declare function EmailVerifyPage(): import("react/jsx-runtime").JSX.Element;
5
- //# sourceMappingURL=EmailVerifyPage.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"EmailVerifyPage.d.ts","sourceRoot":"","sources":["../../../src/auth/pages/EmailVerifyPage.tsx"],"names":[],"mappings":"AAoBA;;GAEG;AACH,wBAAgB,eAAe,4CAqP9B"}
@@ -1,6 +0,0 @@
1
- /**
2
- * Login page with professional design
3
- * Provides email/password login and social OAuth options
4
- */
5
- export declare function LoginPage(): import("react/jsx-runtime").JSX.Element;
6
- //# sourceMappingURL=LoginPage.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"LoginPage.d.ts","sourceRoot":"","sources":["../../../src/auth/pages/LoginPage.tsx"],"names":[],"mappings":"AA4DA;;;GAGG;AACH,wBAAgB,SAAS,4CA4kCxB"}
@@ -1,6 +0,0 @@
1
- /**
2
- * Magic Link authentication page
3
- * Supports both sending magic links and verifying them via token
4
- */
5
- export declare function MagicLinkPage(): import("react/jsx-runtime").JSX.Element;
6
- //# sourceMappingURL=MagicLinkPage.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"MagicLinkPage.d.ts","sourceRoot":"","sources":["../../../src/auth/pages/MagicLinkPage.tsx"],"names":[],"mappings":"AAuDA;;;GAGG;AACH,wBAAgB,aAAa,4CAuT5B"}
@@ -1,5 +0,0 @@
1
- /**
2
- * MFA setup and management page with professional UI
3
- */
4
- export declare function MfaSetupPage(): import("react/jsx-runtime").JSX.Element;
5
- //# sourceMappingURL=MfaSetupPage.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"MfaSetupPage.d.ts","sourceRoot":"","sources":["../../../src/auth/pages/MfaSetupPage.tsx"],"names":[],"mappings":"AAcA;;GAEG;AACH,wBAAgB,YAAY,4CAkhB3B"}
@@ -1,7 +0,0 @@
1
- /**
2
- * MFA verification page with professional design
3
- * Shown when user needs to verify MFA code during login
4
- * Handles both regular login MFA and SSO MFA flows
5
- */
6
- export declare function MfaVerifyPage(): import("react/jsx-runtime").JSX.Element;
7
- //# sourceMappingURL=MfaVerifyPage.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"MfaVerifyPage.d.ts","sourceRoot":"","sources":["../../../src/auth/pages/MfaVerifyPage.tsx"],"names":[],"mappings":"AAcA;;;;GAIG;AACH,wBAAgB,aAAa,4CAgT5B"}
@@ -1,7 +0,0 @@
1
- /**
2
- * OAuth Callback Page
3
- * Handles the redirect from OAuth providers (Google, GitHub, Microsoft)
4
- * Extracts the authorization code and completes the authentication flow
5
- */
6
- export declare function OAuthCallbackPage(): import("react/jsx-runtime").JSX.Element;
7
- //# sourceMappingURL=OAuthCallbackPage.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"OAuthCallbackPage.d.ts","sourceRoot":"","sources":["../../../src/auth/pages/OAuthCallbackPage.tsx"],"names":[],"mappings":"AAOA;;;;GAIG;AACH,wBAAgB,iBAAiB,4CAsLhC"}
@@ -1,6 +0,0 @@
1
- /**
2
- * Password reset page with professional design
3
- * Handles both requesting reset and completing reset with token
4
- */
5
- export declare function PasswordResetPage(): import("react/jsx-runtime").JSX.Element;
6
- //# sourceMappingURL=PasswordResetPage.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"PasswordResetPage.d.ts","sourceRoot":"","sources":["../../../src/auth/pages/PasswordResetPage.tsx"],"names":[],"mappings":"AAkBA;;;GAGG;AACH,wBAAgB,iBAAiB,4CAmiBhC"}
@@ -1,6 +0,0 @@
1
- /**
2
- * Account Reactivation Page
3
- * Allows users to reactivate their deactivated accounts
4
- */
5
- export declare function ReactivatePage(): import("react/jsx-runtime").JSX.Element;
6
- //# sourceMappingURL=ReactivatePage.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ReactivatePage.d.ts","sourceRoot":"","sources":["../../../src/auth/pages/ReactivatePage.tsx"],"names":[],"mappings":"AAYA;;;GAGG;AACH,wBAAgB,cAAc,4CAyR7B"}
@@ -1,5 +0,0 @@
1
- /**
2
- * Registration page with professional design
3
- */
4
- export declare function RegisterPage(): import("react/jsx-runtime").JSX.Element;
5
- //# sourceMappingURL=RegisterPage.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"RegisterPage.d.ts","sourceRoot":"","sources":["../../../src/auth/pages/RegisterPage.tsx"],"names":[],"mappings":"AAyBA;;GAEG;AACH,wBAAgB,YAAY,4CAwoB3B"}
@@ -1,22 +0,0 @@
1
- /**
2
- * SSOClearPage — Cross-Domain Logout at the Central Bridge Host
3
- *
4
- * Companion to SSODepositPage. When a user signs out on a product origin,
5
- * the product app cleared its own localStorage / cookies but the bridge
6
- * host (alphaapp/app.burdenoff.com) still held the deposited session in
7
- * first-party (unpartitioned) localStorage. A later visit to any product
8
- * would then bridge-host-relay that stale session back, effectively
9
- * undoing the logout.
10
- *
11
- * AuthProvider.logout() / logoutAll() on a non-bridge-host origin redirect
12
- * here via a top-level navigation:
13
- *
14
- * product.com (logout)
15
- * → app.burdenoff.com/auth/sso-clear?returnTo=<encoded-return-url>
16
- * — wipes bridge-host localStorage + bf-sso cookie
17
- * → <returnTo>
18
- *
19
- * URL: /auth/sso-clear
20
- */
21
- export declare function SSOClearPage(): import("react/jsx-runtime").JSX.Element;
22
- //# sourceMappingURL=SSOClearPage.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"SSOClearPage.d.ts","sourceRoot":"","sources":["../../../src/auth/pages/SSOClearPage.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AA0EH,wBAAgB,YAAY,4CA0B3B"}
@@ -1,24 +0,0 @@
1
- /**
2
- * SSODepositPage — Cross-Domain Token Deposit at the Central Bridge Host
3
- *
4
- * Loaded as a top-level navigation (NOT an iframe) on the bridge host
5
- * (alphaapp/app.burdenoff.com) right after a user signs in on any other
6
- * product origin. It receives the freshly-issued tokens in the URL fragment
7
- * (`#sso=<base64>` — fragments are never sent to servers) and stores them
8
- * in this origin's first-party (unpartitioned) localStorage so that:
9
- *
10
- * 1. A later top-level visit to the bridge host renders authenticated.
11
- * 2. Other product origins can discover the session via
12
- * `/auth/sso-relay?returnTo=...` against this host.
13
- *
14
- * Flow:
15
- * product.com/auth/login → user signs in
16
- * product.com → POST-success redirect to:
17
- * app.burdenoff.com/auth/sso-deposit?returnTo=<encoded-return-url>#sso=<base64>
18
- * → writes tokens here, sets bf-sso cookie
19
- * <returnTo> → user lands back at intended dashboard
20
- *
21
- * URL: /auth/sso-deposit
22
- */
23
- export declare function SSODepositPage(): import("react/jsx-runtime").JSX.Element;
24
- //# sourceMappingURL=SSODepositPage.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"SSODepositPage.d.ts","sourceRoot":"","sources":["../../../src/auth/pages/SSODepositPage.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;GAqBG;AA0EH,wBAAgB,cAAc,4CA+D7B"}
@@ -1,8 +0,0 @@
1
- /**
2
- * SSORelayCallbackPage — Receives tokens from the SSO relay and stores them locally.
3
- *
4
- * Tokens arrive in the URL fragment (#sso=<base64>) which is never sent to servers.
5
- * After storing in localStorage, redirects to the returnTo path.
6
- */
7
- export declare function SSORelayCallbackPage(): import("react/jsx-runtime").JSX.Element;
8
- //# sourceMappingURL=SSORelayCallbackPage.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"SSORelayCallbackPage.d.ts","sourceRoot":"","sources":["../../../src/auth/pages/SSORelayCallbackPage.tsx"],"names":[],"mappings":"AAAA;;;;;GAKG;AAoBH,wBAAgB,oBAAoB,4CA0DnC"}
@@ -1,18 +0,0 @@
1
- /**
2
- * SSORelayPage — Cross-domain SSO token relay.
3
- *
4
- * This page is loaded on the ORIGIN where the user is logged in.
5
- * It reads tokens from localStorage and redirects to the TARGET domain's
6
- * /auth/sso-callback with the tokens in a URL fragment (not query param
7
- * for security — fragments are not sent to servers).
8
- *
9
- * Flow:
10
- * 1. User visits productA.com → not logged in → detects SSO cookie
11
- * 2. Redirect to productB.com/auth/sso-relay?returnTo=productA.com/dashboard
12
- * (productB is where the user IS logged in — identified by cookie)
13
- * 3. This page reads tokens from productB's localStorage
14
- * 4. Redirects to productA.com/auth/sso-callback#token=<base64-encoded-tokens>
15
- * 5. SSORelayCallbackPage on productA decodes and stores tokens, redirects to /dashboard
16
- */
17
- export declare function SSORelayPage(): import("react/jsx-runtime").JSX.Element;
18
- //# sourceMappingURL=SSORelayPage.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"SSORelayPage.d.ts","sourceRoot":"","sources":["../../../src/auth/pages/SSORelayPage.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAgNH,wBAAgB,YAAY,4CAoE3B"}
@@ -1,5 +0,0 @@
1
- /**
2
- * Security Dashboard - Main hub for all authentication features
3
- */
4
- export declare function SecurityPage(): import("react/jsx-runtime").JSX.Element;
5
- //# sourceMappingURL=SecurityPage.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"SecurityPage.d.ts","sourceRoot":"","sources":["../../../src/auth/pages/SecurityPage.tsx"],"names":[],"mappings":"AA2LA;;GAEG;AACH,wBAAgB,YAAY,4CA+tB3B"}
@@ -1,14 +0,0 @@
1
- /**
2
- * SessionBridgePage — Cross-Domain Auth Session Bridge (Profile-Scoped)
3
- *
4
- * Embedded as hidden iframe by other app shells. Manages profile-scoped
5
- * auth tokens in localStorage and relays state via postMessage.
6
- *
7
- * Storage uses ProfileStorageManager keys:
8
- * bf-profiles, bf-p-{id}-user, bf-p-{id}-tokens, bf-p-{id}-workspace-token
9
- * bf-active-profile (sessionStorage, per-tab)
10
- *
11
- * URL: /auth/session-bridge
12
- */
13
- export declare function SessionBridgePage(): import("react/jsx-runtime").JSX.Element;
14
- //# sourceMappingURL=SessionBridgePage.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"SessionBridgePage.d.ts","sourceRoot":"","sources":["../../../src/auth/pages/SessionBridgePage.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AA0QH,wBAAgB,iBAAiB,4CAiNhC"}
@@ -1,8 +0,0 @@
1
- /**
2
- * Active sessions management page with professional UI
3
- *
4
- * Fragment: SessionCard_Session (src/operations/global/fragments/SessionCard.fragment.graphql)
5
- * Query: ActiveSessions (src/operations/global/queries/sessions.graphql)
6
- */
7
- export declare function SessionsPage(): import("react/jsx-runtime").JSX.Element;
8
- //# sourceMappingURL=SessionsPage.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"SessionsPage.d.ts","sourceRoot":"","sources":["../../../src/auth/pages/SessionsPage.tsx"],"names":[],"mappings":"AAYA;;;;;GAKG;AACH,wBAAgB,YAAY,4CAoe3B"}
@@ -1,8 +0,0 @@
1
- /**
2
- * SSO Callback Page
3
- * Handles redirects from:
4
- * - SAML ACS server (with token/refreshToken in query params)
5
- * - OIDC Authorization Server (with code/state in query params)
6
- */
7
- export declare function SsoCallbackPage(): import("react/jsx-runtime").JSX.Element;
8
- //# sourceMappingURL=SsoCallbackPage.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"SsoCallbackPage.d.ts","sourceRoot":"","sources":["../../../src/auth/pages/SsoCallbackPage.tsx"],"names":[],"mappings":"AAOA;;;;;GAKG;AACH,wBAAgB,eAAe,4CAqW9B"}
@@ -1,13 +0,0 @@
1
- interface SsoConfigPageProps {
2
- /** When true, skips the enterprise-plan gate so admins always see the full UI */
3
- bypassEnterprisePlanGate?: boolean;
4
- }
5
- /**
6
- * SSO Configuration page for managing SAML/OIDC enterprise SSO.
7
- * Admin only - allows configuring Identity Provider settings.
8
- * In admin-app context, bypassEnterprisePlanGate=true and tenant/org/workspace
9
- * scoping is read from URL search params (?tenant=&org=&workspace=).
10
- */
11
- export declare function SsoConfigPage({ bypassEnterprisePlanGate, }: SsoConfigPageProps): import("react/jsx-runtime").JSX.Element;
12
- export {};
13
- //# sourceMappingURL=SsoConfigPage.d.ts.map