@burdenoff/microfe-auth 2026.524.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.
- package/package.json +1 -1
- package/dist/auth/AuthRoot.d.ts +0 -30
- package/dist/auth/AuthRoot.d.ts.map +0 -1
- package/dist/auth/AuthRoutes.d.ts +0 -30
- package/dist/auth/AuthRoutes.d.ts.map +0 -1
- package/dist/auth/components/AuthIcons.d.ts +0 -17
- package/dist/auth/components/AuthIcons.d.ts.map +0 -1
- package/dist/auth/components/AuthLayout.d.ts +0 -17
- package/dist/auth/components/AuthLayout.d.ts.map +0 -1
- package/dist/auth/components/CaptchaV2.d.ts +0 -16
- package/dist/auth/components/CaptchaV2.d.ts.map +0 -1
- package/dist/auth/components/ConfirmActionDialog.d.ts +0 -16
- package/dist/auth/components/ConfirmActionDialog.d.ts.map +0 -1
- package/dist/auth/components/index.d.ts +0 -4
- package/dist/auth/components/index.d.ts.map +0 -1
- package/dist/auth/components/profile/UserProfileMenu.d.ts +0 -42
- package/dist/auth/components/profile/UserProfileMenu.d.ts.map +0 -1
- package/dist/auth/components/workspace/WorkspaceSelector.d.ts +0 -76
- package/dist/auth/components/workspace/WorkspaceSelector.d.ts.map +0 -1
- package/dist/auth/constants/permissions.d.ts +0 -30
- package/dist/auth/constants/permissions.d.ts.map +0 -1
- package/dist/auth/constants/sessionKeys.d.ts +0 -18
- package/dist/auth/constants/sessionKeys.d.ts.map +0 -1
- package/dist/auth/hooks/index.d.ts +0 -18
- package/dist/auth/hooks/index.d.ts.map +0 -1
- package/dist/auth/hooks/useAccountOperations.d.ts +0 -19
- package/dist/auth/hooks/useAccountOperations.d.ts.map +0 -1
- package/dist/auth/hooks/useApiKeyOperations.d.ts +0 -26
- package/dist/auth/hooks/useApiKeyOperations.d.ts.map +0 -1
- package/dist/auth/hooks/useAppOperations.d.ts +0 -30
- package/dist/auth/hooks/useAppOperations.d.ts.map +0 -1
- package/dist/auth/hooks/useAuthOperations.d.ts +0 -57
- package/dist/auth/hooks/useAuthOperations.d.ts.map +0 -1
- package/dist/auth/hooks/useAuthPermissions.d.ts +0 -20
- package/dist/auth/hooks/useAuthPermissions.d.ts.map +0 -1
- package/dist/auth/hooks/useCaptchaV3.d.ts +0 -13
- package/dist/auth/hooks/useCaptchaV3.d.ts.map +0 -1
- package/dist/auth/hooks/useContextSwitcherData.d.ts +0 -106
- package/dist/auth/hooks/useContextSwitcherData.d.ts.map +0 -1
- package/dist/auth/hooks/useDelegationOperations.d.ts +0 -33
- package/dist/auth/hooks/useDelegationOperations.d.ts.map +0 -1
- package/dist/auth/hooks/useMfaOperations.d.ts +0 -18
- package/dist/auth/hooks/useMfaOperations.d.ts.map +0 -1
- package/dist/auth/hooks/useMyWorkspaces.d.ts +0 -45
- package/dist/auth/hooks/useMyWorkspaces.d.ts.map +0 -1
- package/dist/auth/hooks/useOAuthOperations.d.ts +0 -19
- package/dist/auth/hooks/useOAuthOperations.d.ts.map +0 -1
- package/dist/auth/hooks/usePasswordOperations.d.ts +0 -13
- package/dist/auth/hooks/usePasswordOperations.d.ts.map +0 -1
- package/dist/auth/hooks/useSessionOperations.d.ts +0 -52
- package/dist/auth/hooks/useSessionOperations.d.ts.map +0 -1
- package/dist/auth/hooks/useSsoOperations.d.ts +0 -65
- package/dist/auth/hooks/useSsoOperations.d.ts.map +0 -1
- package/dist/auth/hooks/useTokenRefresh.d.ts +0 -56
- package/dist/auth/hooks/useTokenRefresh.d.ts.map +0 -1
- package/dist/auth/hooks/useUserOperations.d.ts +0 -33
- package/dist/auth/hooks/useUserOperations.d.ts.map +0 -1
- package/dist/auth/hooks/useWorkspaceOperations.d.ts +0 -35
- package/dist/auth/hooks/useWorkspaceOperations.d.ts.map +0 -1
- package/dist/auth/hooks/useWorkspaceToken.d.ts +0 -56
- package/dist/auth/hooks/useWorkspaceToken.d.ts.map +0 -1
- package/dist/auth/index.d.ts +0 -63
- package/dist/auth/index.d.ts.map +0 -1
- package/dist/auth/pages/AuditLogPage.d.ts +0 -12
- package/dist/auth/pages/AuditLogPage.d.ts.map +0 -1
- package/dist/auth/pages/EmailVerifyPage.d.ts +0 -5
- package/dist/auth/pages/EmailVerifyPage.d.ts.map +0 -1
- package/dist/auth/pages/LoginPage.d.ts +0 -6
- package/dist/auth/pages/LoginPage.d.ts.map +0 -1
- package/dist/auth/pages/MagicLinkPage.d.ts +0 -6
- package/dist/auth/pages/MagicLinkPage.d.ts.map +0 -1
- package/dist/auth/pages/MfaSetupPage.d.ts +0 -5
- package/dist/auth/pages/MfaSetupPage.d.ts.map +0 -1
- package/dist/auth/pages/MfaVerifyPage.d.ts +0 -7
- package/dist/auth/pages/MfaVerifyPage.d.ts.map +0 -1
- package/dist/auth/pages/OAuthCallbackPage.d.ts +0 -7
- package/dist/auth/pages/OAuthCallbackPage.d.ts.map +0 -1
- package/dist/auth/pages/PasswordResetPage.d.ts +0 -6
- package/dist/auth/pages/PasswordResetPage.d.ts.map +0 -1
- package/dist/auth/pages/ReactivatePage.d.ts +0 -6
- package/dist/auth/pages/ReactivatePage.d.ts.map +0 -1
- package/dist/auth/pages/RegisterPage.d.ts +0 -5
- package/dist/auth/pages/RegisterPage.d.ts.map +0 -1
- package/dist/auth/pages/SSOClearPage.d.ts +0 -22
- package/dist/auth/pages/SSOClearPage.d.ts.map +0 -1
- package/dist/auth/pages/SSODepositPage.d.ts +0 -24
- package/dist/auth/pages/SSODepositPage.d.ts.map +0 -1
- package/dist/auth/pages/SSORelayCallbackPage.d.ts +0 -8
- package/dist/auth/pages/SSORelayCallbackPage.d.ts.map +0 -1
- package/dist/auth/pages/SSORelayPage.d.ts +0 -18
- package/dist/auth/pages/SSORelayPage.d.ts.map +0 -1
- package/dist/auth/pages/SecurityPage.d.ts +0 -5
- package/dist/auth/pages/SecurityPage.d.ts.map +0 -1
- package/dist/auth/pages/SessionBridgePage.d.ts +0 -14
- package/dist/auth/pages/SessionBridgePage.d.ts.map +0 -1
- package/dist/auth/pages/SessionsPage.d.ts +0 -8
- package/dist/auth/pages/SessionsPage.d.ts.map +0 -1
- package/dist/auth/pages/SsoCallbackPage.d.ts +0 -8
- package/dist/auth/pages/SsoCallbackPage.d.ts.map +0 -1
- package/dist/auth/pages/SsoConfigPage.d.ts +0 -13
- package/dist/auth/pages/SsoConfigPage.d.ts.map +0 -1
- package/dist/auth/pages/SsoLoginPage.d.ts +0 -7
- package/dist/auth/pages/SsoLoginPage.d.ts.map +0 -1
- package/dist/auth/pages/UserDetailsPage.d.ts +0 -11
- package/dist/auth/pages/UserDetailsPage.d.ts.map +0 -1
- package/dist/auth/pages/UserProfilePage.d.ts +0 -5
- package/dist/auth/pages/UserProfilePage.d.ts.map +0 -1
- package/dist/auth/pages/UsersPage.d.ts +0 -5
- package/dist/auth/pages/UsersPage.d.ts.map +0 -1
- package/dist/auth/providers/AuthProvider.d.ts +0 -18
- package/dist/auth/providers/AuthProvider.d.ts.map +0 -1
- package/dist/auth/providers/CaptchaProvider.d.ts +0 -13
- package/dist/auth/providers/CaptchaProvider.d.ts.map +0 -1
- package/dist/auth/store/authStore.d.ts +0 -111
- package/dist/auth/store/authStore.d.ts.map +0 -1
- package/dist/auth/types/index.d.ts +0 -643
- package/dist/auth/types/index.d.ts.map +0 -1
- package/dist/auth/utils/captchaConfig.d.ts +0 -4
- package/dist/auth/utils/captchaConfig.d.ts.map +0 -1
- package/dist/auth/utils/formatters.d.ts +0 -37
- package/dist/auth/utils/formatters.d.ts.map +0 -1
- package/dist/auth/utils/gatewayBaseUrls.d.ts +0 -6
- package/dist/auth/utils/gatewayBaseUrls.d.ts.map +0 -1
- package/dist/auth/utils/index.d.ts +0 -3
- package/dist/auth/utils/index.d.ts.map +0 -1
- package/dist/auth/utils/validation.d.ts +0 -30
- package/dist/auth/utils/validation.d.ts.map +0 -1
- package/dist/dev/main.d.ts +0 -2
- package/dist/dev/main.d.ts.map +0 -1
- package/dist/generated/global-operations.d.ts +0 -3096
- package/dist/generated/global-operations.d.ts.map +0 -1
- package/dist/generated/global-types.d.ts +0 -23529
- package/dist/generated/global-types.d.ts.map +0 -1
- package/dist/generated/wspace-operations.d.ts +0 -124
- package/dist/generated/wspace-operations.d.ts.map +0 -1
- package/dist/generated/wspace-types.d.ts +0 -57851
- package/dist/generated/wspace-types.d.ts.map +0 -1
- package/dist/index.d.ts +0 -4
- package/dist/index.d.ts.map +0 -1
- package/dist/shared/hooks/index.d.ts +0 -7
- package/dist/shared/hooks/index.d.ts.map +0 -1
- package/dist/shared/index.d.ts +0 -6
- package/dist/shared/index.d.ts.map +0 -1
- package/dist/shared/types/index.d.ts +0 -109
- package/dist/shared/types/index.d.ts.map +0 -1
- package/dist/translations/en.d.ts +0 -321
- package/dist/translations/en.d.ts.map +0 -1
- package/dist/utils/nativeBridge.d.ts +0 -3
- package/dist/utils/nativeBridge.d.ts.map +0 -1
package/dist/auth/index.d.ts
DELETED
|
@@ -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
|
package/dist/auth/index.d.ts.map
DELETED
|
@@ -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,EAA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AAsB,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 +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 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"LoginPage.d.ts","sourceRoot":"","sources":["../../../src/auth/pages/LoginPage.tsx"],"names":[],"mappings":"AAkGA;;;GAGG;AACH,wBAAgB,SAAS,4CAulCxB"}
|
|
@@ -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 +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 +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 +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 +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 +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
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"SsoConfigPage.d.ts","sourceRoot":"","sources":["../../../src/auth/pages/SsoConfigPage.tsx"],"names":[],"mappings":"AAiHA,UAAU,kBAAkB;IAC1B,iFAAiF;IACjF,wBAAwB,CAAC,EAAE,OAAO,CAAC;CACpC;AAED;;;;;GAKG;AACH,wBAAgB,aAAa,CAAC,EAC5B,wBAAgC,GACjC,EAAE,kBAAkB,2CAqlDpB"}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* SSO Login Page
|
|
3
|
-
* Allows users to enter their email/company domain to initiate SSO login
|
|
4
|
-
* Supports both SAML 2.0 and OIDC authentication methods
|
|
5
|
-
*/
|
|
6
|
-
export declare function SsoLoginPage(): import("react/jsx-runtime").JSX.Element;
|
|
7
|
-
//# sourceMappingURL=SsoLoginPage.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"SsoLoginPage.d.ts","sourceRoot":"","sources":["../../../src/auth/pages/SsoLoginPage.tsx"],"names":[],"mappings":"AASA;;;;GAIG;AACH,wBAAgB,YAAY,4CAgZ3B"}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* User details page (admin only).
|
|
3
|
-
*
|
|
4
|
-
* Route: /auth/users/:id
|
|
5
|
-
*
|
|
6
|
-
* Renders the full profile of a single user, with admin actions
|
|
7
|
-
* (edit, deactivate, hard-delete, export). Reuses the same getUser query
|
|
8
|
-
* that UsersPage relies on.
|
|
9
|
-
*/
|
|
10
|
-
export declare function UserDetailsPage(): import("react/jsx-runtime").JSX.Element;
|
|
11
|
-
//# sourceMappingURL=UserDetailsPage.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"UserDetailsPage.d.ts","sourceRoot":"","sources":["../../../src/auth/pages/UserDetailsPage.tsx"],"names":[],"mappings":"AA8CA;;;;;;;;GAQG;AACH,wBAAgB,eAAe,4CAmgB9B"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"UserProfilePage.d.ts","sourceRoot":"","sources":["../../../src/auth/pages/UserProfilePage.tsx"],"names":[],"mappings":"AA4BA;;GAEG;AACH,wBAAgB,eAAe,4CA+qB9B"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"UsersPage.d.ts","sourceRoot":"","sources":["../../../src/auth/pages/UsersPage.tsx"],"names":[],"mappings":"AA8CA;;GAEG;AACH,wBAAgB,SAAS,4CAw0CxB"}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { FC, PropsWithChildren } from 'react';
|
|
2
|
-
import { AuthRootProps } from '../types';
|
|
3
|
-
|
|
4
|
-
/**
|
|
5
|
-
* Hook to access Auth context
|
|
6
|
-
*/
|
|
7
|
-
export declare const useAuth: () => AuthRootProps;
|
|
8
|
-
/**
|
|
9
|
-
* Provider component for Auth microfrontend
|
|
10
|
-
* Sets up routing and context.
|
|
11
|
-
*
|
|
12
|
-
* NOTE: Apollo client is provided by the app shell's MultiGatewayProvider +
|
|
13
|
-
* GatewayRoute. Auth routes are wrapped with <GatewayRoute gateway="global">
|
|
14
|
-
* so all useQuery/useMutation calls automatically use the global gateway client.
|
|
15
|
-
* This MFE does NOT create its own Apollo client.
|
|
16
|
-
*/
|
|
17
|
-
export declare const AuthProvider: FC<PropsWithChildren<AuthRootProps>>;
|
|
18
|
-
//# sourceMappingURL=AuthProvider.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"AuthProvider.d.ts","sourceRoot":"","sources":["../../../src/auth/providers/AuthProvider.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAInD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAS9C;;GAEG;AACH,eAAO,MAAM,OAAO,qBAMnB,CAAC;AAEF;;;;;;;;GAQG;AACH,eAAO,MAAM,YAAY,EAAE,EAAE,CAAC,iBAAiB,CAAC,aAAa,CAAC,CAgD7D,CAAC"}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { ReactNode } from 'react';
|
|
2
|
-
|
|
3
|
-
interface CaptchaProviderProps {
|
|
4
|
-
children: ReactNode;
|
|
5
|
-
}
|
|
6
|
-
/**
|
|
7
|
-
* Provides reCAPTCHA v3 context for invisible captcha.
|
|
8
|
-
* Only loads the Google reCAPTCHA script when VITE_CAPTCHA_ENABLED is "true".
|
|
9
|
-
* Otherwise, renders children directly without loading any scripts.
|
|
10
|
-
*/
|
|
11
|
-
export declare function CaptchaProvider({ children }: CaptchaProviderProps): import("react/jsx-runtime").JSX.Element;
|
|
12
|
-
export {};
|
|
13
|
-
//# sourceMappingURL=CaptchaProvider.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"CaptchaProvider.d.ts","sourceRoot":"","sources":["../../../src/auth/providers/CaptchaProvider.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAkB,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAGvD,UAAU,oBAAoB;IAC5B,QAAQ,EAAE,SAAS,CAAC;CACrB;AAwBD;;;;GAIG;AACH,wBAAgB,eAAe,CAAC,EAAE,QAAQ,EAAE,EAAE,oBAAoB,2CAUjE"}
|
|
@@ -1,111 +0,0 @@
|
|
|
1
|
-
import { User, Session, MfaDevice, OAuthAccount, TrustedDevice, SecurityAudit, ApiKey, App, AppUserDelegation, Workspace, Organization, Project } from '../types';
|
|
2
|
-
|
|
3
|
-
interface AuthState {
|
|
4
|
-
user: User | null;
|
|
5
|
-
accessToken: string | null;
|
|
6
|
-
refreshToken: string | null;
|
|
7
|
-
isAuthenticated: boolean;
|
|
8
|
-
organizations: Organization[];
|
|
9
|
-
currentOrganizationId: string | null;
|
|
10
|
-
isLoadingOrganizations: boolean;
|
|
11
|
-
workspaces: Workspace[];
|
|
12
|
-
currentWorkspaceId: string | null;
|
|
13
|
-
workspaceToken: string | null;
|
|
14
|
-
isLoadingWorkspaces: boolean;
|
|
15
|
-
projects: Project[];
|
|
16
|
-
currentProjectId: string | null;
|
|
17
|
-
isLoadingProjects: boolean;
|
|
18
|
-
mfaRequired: boolean;
|
|
19
|
-
mfaChallengeId: string | null;
|
|
20
|
-
mfaDevices: MfaDevice[];
|
|
21
|
-
activeSessions: Session[];
|
|
22
|
-
currentSessionId: string | null;
|
|
23
|
-
linkedAccounts: OAuthAccount[];
|
|
24
|
-
trustedDevices: TrustedDevice[];
|
|
25
|
-
securityEvents: SecurityAudit[];
|
|
26
|
-
apiKeys: ApiKey[];
|
|
27
|
-
apps: App[];
|
|
28
|
-
currentApp: App | null;
|
|
29
|
-
delegations: AppUserDelegation[];
|
|
30
|
-
grantedDelegations: AppUserDelegation[];
|
|
31
|
-
isLoading: boolean;
|
|
32
|
-
error: string | null;
|
|
33
|
-
errorCode: string | null;
|
|
34
|
-
setUser: (user: User | null) => void;
|
|
35
|
-
setAccessToken: (token: string | null) => void;
|
|
36
|
-
setAuthTokens: (accessToken: string, refreshToken: string) => void;
|
|
37
|
-
setAuthenticated: (isAuthenticated: boolean) => void;
|
|
38
|
-
clearAuth: () => void;
|
|
39
|
-
setOrganizations: (organizations: Organization[]) => void;
|
|
40
|
-
setCurrentOrganizationId: (orgId: string | null) => void;
|
|
41
|
-
setLoadingOrganizations: (loading: boolean) => void;
|
|
42
|
-
setWorkspaces: (workspaces: Workspace[]) => void;
|
|
43
|
-
setCurrentWorkspaceId: (workspaceId: string | null) => void;
|
|
44
|
-
setWorkspaceToken: (token: string | null) => void;
|
|
45
|
-
setLoadingWorkspaces: (loading: boolean) => void;
|
|
46
|
-
clearWorkspace: () => void;
|
|
47
|
-
setProjects: (projects: Project[]) => void;
|
|
48
|
-
setCurrentProjectId: (projectId: string | null) => void;
|
|
49
|
-
setLoadingProjects: (loading: boolean) => void;
|
|
50
|
-
clearProject: () => void;
|
|
51
|
-
clearContext: () => void;
|
|
52
|
-
loadFromProfile: (profileId: string) => void;
|
|
53
|
-
setMfaRequired: (required: boolean, challengeId?: string) => void;
|
|
54
|
-
setMfaDevices: (devices: MfaDevice[]) => void;
|
|
55
|
-
removeMfaDevice: (deviceId: string) => void;
|
|
56
|
-
setActiveSessions: (sessions: Session[]) => void;
|
|
57
|
-
removeSession: (sessionId: string) => void;
|
|
58
|
-
setLinkedAccounts: (accounts: OAuthAccount[]) => void;
|
|
59
|
-
removeLinkedAccount: (accountId: string) => void;
|
|
60
|
-
setTrustedDevices: (devices: TrustedDevice[]) => void;
|
|
61
|
-
removeTrustedDevice: (deviceId: string) => void;
|
|
62
|
-
setSecurityEvents: (events: SecurityAudit[]) => void;
|
|
63
|
-
setApiKeys: (keys: ApiKey[]) => void;
|
|
64
|
-
removeApiKey: (keyId: string) => void;
|
|
65
|
-
setApps: (apps: App[]) => void;
|
|
66
|
-
setCurrentApp: (app: App | null) => void;
|
|
67
|
-
addApp: (app: App) => void;
|
|
68
|
-
updateApp: (app: App) => void;
|
|
69
|
-
removeApp: (appId: string) => void;
|
|
70
|
-
setDelegations: (delegations: AppUserDelegation[]) => void;
|
|
71
|
-
setGrantedDelegations: (delegations: AppUserDelegation[]) => void;
|
|
72
|
-
addDelegation: (delegation: AppUserDelegation) => void;
|
|
73
|
-
removeDelegation: (delegationId: string) => void;
|
|
74
|
-
setLoading: (loading: boolean) => void;
|
|
75
|
-
setError: (error: string | null, errorCode?: string | null) => void;
|
|
76
|
-
}
|
|
77
|
-
/**
|
|
78
|
-
* Auth Zustand store — browser-tab-local state.
|
|
79
|
-
*
|
|
80
|
-
* SAFE for in-memory (no Redis needed):
|
|
81
|
-
* - accessToken / refreshToken / user: per-tab, backed by profileScopedStorage
|
|
82
|
-
* (localStorage key bf-p-{profileId}-*). Tabs sharing the same profile ID
|
|
83
|
-
* stay in sync via the "bf-profile-storage-change" custom event + "storage"
|
|
84
|
-
* cross-tab event.
|
|
85
|
-
* - workspaceToken: same pattern as above.
|
|
86
|
-
* - mfaRequired / mfaChallengeId: transient login-flow state; not needed
|
|
87
|
-
* cross-tab (each login has its own challenge).
|
|
88
|
-
* - organizations / workspaces / projects lists: cached context, re-fetched
|
|
89
|
-
* after account switch; no cross-tab sharing needed.
|
|
90
|
-
* - UI state (isLoading, error): purely ephemeral.
|
|
91
|
-
*
|
|
92
|
-
* NOT safe for in-memory (needs Redis in future if required server-side):
|
|
93
|
-
* - Nothing currently — all server-side session tracking is done by the
|
|
94
|
-
* backend (global-auth-svc) using its own DB. The frontend only holds
|
|
95
|
-
* short-lived JWT access tokens that expire independently.
|
|
96
|
-
*/
|
|
97
|
-
export declare const useAuthStore: import('zustand').UseBoundStore<Omit<import('zustand').StoreApi<AuthState>, "setState" | "persist"> & {
|
|
98
|
-
setState(partial: AuthState | Partial<AuthState> | ((state: AuthState) => AuthState | Partial<AuthState>), replace?: false | undefined): unknown;
|
|
99
|
-
setState(state: AuthState | ((state: AuthState) => AuthState), replace: true): unknown;
|
|
100
|
-
persist: {
|
|
101
|
-
setOptions: (options: Partial<import('zustand/middleware').PersistOptions<AuthState, unknown, unknown>>) => void;
|
|
102
|
-
clearStorage: () => void;
|
|
103
|
-
rehydrate: () => Promise<void> | void;
|
|
104
|
-
hasHydrated: () => boolean;
|
|
105
|
-
onHydrate: (fn: (state: AuthState) => void) => () => void;
|
|
106
|
-
onFinishHydration: (fn: (state: AuthState) => void) => () => void;
|
|
107
|
-
getOptions: () => Partial<import('zustand/middleware').PersistOptions<AuthState, unknown, unknown>>;
|
|
108
|
-
};
|
|
109
|
-
}>;
|
|
110
|
-
export {};
|
|
111
|
-
//# sourceMappingURL=authStore.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"authStore.d.ts","sourceRoot":"","sources":["../../../src/auth/store/authStore.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EACV,IAAI,EACJ,OAAO,EACP,SAAS,EACT,YAAY,EACZ,aAAa,EACb,aAAa,E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