@oxy.so/services 4.0.7 → 6.0.0
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/README.md +1 -1
- package/lib/commonjs/assets/assets/signIn/slide-1.jpg +0 -0
- package/lib/commonjs/assets/assets/signIn/slide-1.jpg.d.ts +3 -0
- package/lib/commonjs/assets/assets/signIn/slide-2.jpg +0 -0
- package/lib/commonjs/assets/assets/signIn/slide-2.jpg.d.ts +3 -0
- package/lib/commonjs/assets/assets/signIn/slide-3.jpg +0 -0
- package/lib/commonjs/assets/assets/signIn/slide-3.jpg.d.ts +3 -0
- package/lib/commonjs/assets/assets/signIn/slide-4.jpg +0 -0
- package/lib/commonjs/assets/assets/signIn/slide-4.jpg.d.ts +3 -0
- package/lib/commonjs/assets/signIn/slide-1.jpg +0 -0
- package/lib/commonjs/assets/signIn/slide-2.jpg +0 -0
- package/lib/commonjs/assets/signIn/slide-3.jpg +0 -0
- package/lib/commonjs/assets/signIn/slide-4.jpg +0 -0
- package/lib/commonjs/index.js +45 -8
- package/lib/commonjs/index.js.map +1 -1
- package/lib/commonjs/ui/components/OxyAccountDialogScreen.js +11 -58
- package/lib/commonjs/ui/components/OxyAccountDialogScreen.js.map +1 -1
- package/lib/commonjs/ui/components/OxyAuthChooser.js +36 -44
- package/lib/commonjs/ui/components/OxyAuthChooser.js.map +1 -1
- package/lib/commonjs/ui/components/OxyProvider.js +0 -2
- package/lib/commonjs/ui/components/OxyProvider.js.map +1 -1
- package/lib/commonjs/ui/components/ProfileButton.js.map +1 -1
- package/lib/commonjs/ui/components/authChooser/AccountsMenuView.js +29 -8
- package/lib/commonjs/ui/components/authChooser/AccountsMenuView.js.map +1 -1
- package/lib/commonjs/ui/components/authChooser/primitives.js +7 -52
- package/lib/commonjs/ui/components/authChooser/primitives.js.map +1 -1
- package/lib/commonjs/ui/components/authChooser/signInFailureMessage.js +1 -7
- package/lib/commonjs/ui/components/authChooser/signInFailureMessage.js.map +1 -1
- package/lib/commonjs/ui/components/authChooser/styles.js +0 -31
- package/lib/commonjs/ui/components/authChooser/styles.js.map +1 -1
- package/lib/commonjs/ui/components/authChooser/types.js +2 -2
- package/lib/commonjs/ui/components/oauthNavigation.js +1 -1
- package/lib/commonjs/ui/components/signIn/InlineCommonsQr.js +161 -0
- package/lib/commonjs/ui/components/signIn/InlineCommonsQr.js.map +1 -0
- package/lib/commonjs/ui/components/signIn/OxyAccountPicker.js +111 -0
- package/lib/commonjs/ui/components/signIn/OxyAccountPicker.js.map +1 -0
- package/lib/commonjs/ui/components/signIn/OxyAuthScreen.js +160 -0
- package/lib/commonjs/ui/components/signIn/OxyAuthScreen.js.map +1 -0
- package/lib/commonjs/ui/components/signIn/OxySignInPanel.js +371 -0
- package/lib/commonjs/ui/components/signIn/OxySignInPanel.js.map +1 -0
- package/lib/commonjs/ui/components/signIn/OxySignUpPanel.js +78 -0
- package/lib/commonjs/ui/components/signIn/OxySignUpPanel.js.map +1 -0
- package/lib/commonjs/ui/components/signIn/artwork.js +21 -0
- package/lib/commonjs/ui/components/signIn/artwork.js.map +1 -0
- package/lib/commonjs/ui/components/signIn/passkeyError.js +46 -0
- package/lib/commonjs/ui/components/signIn/passkeyError.js.map +1 -0
- package/lib/commonjs/ui/components/signIn/signInMethods.js +46 -0
- package/lib/commonjs/ui/components/signIn/signInMethods.js.map +1 -0
- package/lib/commonjs/ui/context/OxyContext.js +16 -16
- package/lib/commonjs/ui/context/OxyContext.js.map +1 -1
- package/lib/commonjs/ui/context/commitSessionFlow.js +0 -43
- package/lib/commonjs/ui/context/commitSessionFlow.js.map +1 -1
- package/lib/commonjs/ui/hooks/accountDialogSnapshot.js +15 -1
- package/lib/commonjs/ui/hooks/accountDialogSnapshot.js.map +1 -1
- package/lib/commonjs/ui/hooks/useDeviceSwitcher.js +1 -3
- package/lib/commonjs/ui/hooks/useDeviceSwitcher.js.map +1 -1
- package/lib/commonjs/ui/oauth/browserAuthTransport.js +11 -4
- package/lib/commonjs/ui/oauth/browserAuthTransport.js.map +1 -1
- package/lib/commonjs/ui/oauth/oauthHandshake.js +3 -0
- package/lib/commonjs/ui/oauth/oauthHandshake.js.map +1 -1
- package/lib/commonjs/ui/oauth/oauthPopup.js +2 -3
- package/lib/commonjs/ui/oauth/oauthPopup.js.map +1 -1
- package/lib/commonjs/ui/screens/ManageAccountScreen.js +2 -3
- package/lib/commonjs/ui/screens/ManageAccountScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/trust/TrustLeaderboardScreen.js +1 -1
- package/lib/commonjs/ui/screens/trust/TrustLeaderboardScreen.js.map +1 -1
- package/lib/commonjs/ui/session/authStore.js +0 -21
- package/lib/commonjs/ui/session/authStore.js.map +1 -1
- package/lib/commonjs/ui/utils/accountDeletionHandoff.js +1 -1
- package/lib/commonjs/ui/utils/accountDeletionHandoff.js.map +1 -1
- package/lib/module/assets/assets/signIn/slide-1.jpg +0 -0
- package/lib/module/assets/assets/signIn/slide-1.jpg.d.ts +3 -0
- package/lib/module/assets/assets/signIn/slide-2.jpg +0 -0
- package/lib/module/assets/assets/signIn/slide-2.jpg.d.ts +3 -0
- package/lib/module/assets/assets/signIn/slide-3.jpg +0 -0
- package/lib/module/assets/assets/signIn/slide-3.jpg.d.ts +3 -0
- package/lib/module/assets/assets/signIn/slide-4.jpg +0 -0
- package/lib/module/assets/assets/signIn/slide-4.jpg.d.ts +3 -0
- package/lib/module/assets/signIn/slide-1.jpg +0 -0
- package/lib/module/assets/signIn/slide-2.jpg +0 -0
- package/lib/module/assets/signIn/slide-3.jpg +0 -0
- package/lib/module/assets/signIn/slide-4.jpg +0 -0
- package/lib/module/index.js +7 -6
- package/lib/module/index.js.map +1 -1
- package/lib/module/ui/components/OxyAccountDialogScreen.js +14 -59
- package/lib/module/ui/components/OxyAccountDialogScreen.js.map +1 -1
- package/lib/module/ui/components/OxyAuthChooser.js +37 -45
- package/lib/module/ui/components/OxyAuthChooser.js.map +1 -1
- package/lib/module/ui/components/OxyProvider.js +0 -2
- package/lib/module/ui/components/OxyProvider.js.map +1 -1
- package/lib/module/ui/components/ProfileButton.js.map +1 -1
- package/lib/module/ui/components/authChooser/AccountsMenuView.js +21 -2
- package/lib/module/ui/components/authChooser/AccountsMenuView.js.map +1 -1
- package/lib/module/ui/components/authChooser/primitives.js +1 -44
- package/lib/module/ui/components/authChooser/primitives.js.map +1 -1
- package/lib/module/ui/components/authChooser/signInFailureMessage.js +1 -7
- package/lib/module/ui/components/authChooser/signInFailureMessage.js.map +1 -1
- package/lib/module/ui/components/authChooser/styles.js +0 -31
- package/lib/module/ui/components/authChooser/styles.js.map +1 -1
- package/lib/module/ui/components/authChooser/types.js +2 -2
- package/lib/module/ui/components/oauthNavigation.js +1 -1
- package/lib/module/ui/components/signIn/InlineCommonsQr.js +157 -0
- package/lib/module/ui/components/signIn/InlineCommonsQr.js.map +1 -0
- package/lib/module/ui/components/signIn/OxyAccountPicker.js +106 -0
- package/lib/module/ui/components/signIn/OxyAccountPicker.js.map +1 -0
- package/lib/module/ui/components/signIn/OxyAuthScreen.js +151 -0
- package/lib/module/ui/components/signIn/OxyAuthScreen.js.map +1 -0
- package/lib/module/ui/components/signIn/OxySignInPanel.js +366 -0
- package/lib/module/ui/components/signIn/OxySignInPanel.js.map +1 -0
- package/lib/module/ui/components/signIn/OxySignUpPanel.js +75 -0
- package/lib/module/ui/components/signIn/OxySignUpPanel.js.map +1 -0
- package/lib/module/ui/components/signIn/artwork.js +16 -0
- package/lib/module/ui/components/signIn/artwork.js.map +1 -0
- package/lib/module/ui/components/signIn/passkeyError.js +40 -0
- package/lib/module/ui/components/signIn/passkeyError.js.map +1 -0
- package/lib/module/ui/components/signIn/signInMethods.js +42 -0
- package/lib/module/ui/components/signIn/signInMethods.js.map +1 -0
- package/lib/module/ui/context/OxyContext.js +17 -17
- package/lib/module/ui/context/OxyContext.js.map +1 -1
- package/lib/module/ui/context/commitSessionFlow.js +0 -42
- package/lib/module/ui/context/commitSessionFlow.js.map +1 -1
- package/lib/module/ui/hooks/accountDialogSnapshot.js +14 -1
- package/lib/module/ui/hooks/accountDialogSnapshot.js.map +1 -1
- package/lib/module/ui/hooks/useDeviceSwitcher.js +3 -5
- package/lib/module/ui/hooks/useDeviceSwitcher.js.map +1 -1
- package/lib/module/ui/oauth/browserAuthTransport.js +11 -4
- package/lib/module/ui/oauth/browserAuthTransport.js.map +1 -1
- package/lib/module/ui/oauth/oauthHandshake.js +3 -0
- package/lib/module/ui/oauth/oauthHandshake.js.map +1 -1
- package/lib/module/ui/oauth/oauthPopup.js +2 -3
- package/lib/module/ui/oauth/oauthPopup.js.map +1 -1
- package/lib/module/ui/screens/ManageAccountScreen.js +3 -4
- package/lib/module/ui/screens/ManageAccountScreen.js.map +1 -1
- package/lib/module/ui/screens/trust/TrustLeaderboardScreen.js +1 -1
- package/lib/module/ui/screens/trust/TrustLeaderboardScreen.js.map +1 -1
- package/lib/module/ui/session/authStore.js +1 -22
- package/lib/module/ui/session/authStore.js.map +1 -1
- package/lib/module/ui/utils/accountDeletionHandoff.js +2 -2
- package/lib/module/ui/utils/accountDeletionHandoff.js.map +1 -1
- package/lib/typescript/assets/signIn/slide-1.jpg.d.ts +3 -0
- package/lib/typescript/assets/signIn/slide-2.jpg.d.ts +3 -0
- package/lib/typescript/assets/signIn/slide-3.jpg.d.ts +3 -0
- package/lib/typescript/assets/signIn/slide-4.jpg.d.ts +3 -0
- package/lib/typescript/commonjs/index.d.ts +8 -2
- package/lib/typescript/commonjs/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/OxyAccountDialogScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/OxyAuthChooser.d.ts +5 -12
- package/lib/typescript/commonjs/ui/components/OxyAuthChooser.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/OxyProvider.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/ProfileButton.d.ts +1 -1
- package/lib/typescript/commonjs/ui/components/ProfileButton.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/authChooser/AccountsMenuView.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/authChooser/primitives.d.ts +0 -19
- package/lib/typescript/commonjs/ui/components/authChooser/primitives.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/authChooser/signInFailureMessage.d.ts +1 -5
- package/lib/typescript/commonjs/ui/components/authChooser/signInFailureMessage.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/authChooser/styles.d.ts +0 -31
- package/lib/typescript/commonjs/ui/components/authChooser/styles.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/authChooser/types.d.ts +3 -3
- package/lib/typescript/commonjs/ui/components/oauthNavigation.d.ts +1 -1
- package/lib/typescript/commonjs/ui/components/signIn/InlineCommonsQr.d.ts +20 -0
- package/lib/typescript/commonjs/ui/components/signIn/InlineCommonsQr.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/signIn/OxyAccountPicker.d.ts +34 -0
- package/lib/typescript/commonjs/ui/components/signIn/OxyAccountPicker.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/signIn/OxyAuthScreen.d.ts +43 -0
- package/lib/typescript/commonjs/ui/components/signIn/OxyAuthScreen.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/signIn/OxySignInPanel.d.ts +43 -0
- package/lib/typescript/commonjs/ui/components/signIn/OxySignInPanel.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/signIn/OxySignUpPanel.d.ts +17 -0
- package/lib/typescript/commonjs/ui/components/signIn/OxySignUpPanel.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/signIn/artwork.d.ts +8 -0
- package/lib/typescript/commonjs/ui/components/signIn/artwork.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/signIn/passkeyError.d.ts +16 -0
- package/lib/typescript/commonjs/ui/components/signIn/passkeyError.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/signIn/signInMethods.d.ts +39 -0
- package/lib/typescript/commonjs/ui/components/signIn/signInMethods.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/context/OxyContext.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/context/commitSessionFlow.d.ts +0 -40
- package/lib/typescript/commonjs/ui/context/commitSessionFlow.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/context/oxyContextTypes.d.ts +8 -9
- package/lib/typescript/commonjs/ui/context/oxyContextTypes.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/hooks/accountDialogSnapshot.d.ts +7 -1
- package/lib/typescript/commonjs/ui/hooks/accountDialogSnapshot.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/hooks/useDeviceSwitcher.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/oauth/browserAuthTransport.d.ts +9 -0
- package/lib/typescript/commonjs/ui/oauth/browserAuthTransport.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/oauth/oauthHandshake.d.ts +3 -0
- package/lib/typescript/commonjs/ui/oauth/oauthHandshake.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/oauth/oauthPopup.d.ts +2 -3
- package/lib/typescript/commonjs/ui/oauth/oauthPopup.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/ManageAccountScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/session/authStore.d.ts +0 -30
- package/lib/typescript/commonjs/ui/session/authStore.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/types/navigation.d.ts +0 -26
- package/lib/typescript/commonjs/ui/types/navigation.d.ts.map +1 -1
- package/lib/typescript/module/index.d.ts +8 -2
- package/lib/typescript/module/index.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/OxyAccountDialogScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/OxyAuthChooser.d.ts +5 -12
- package/lib/typescript/module/ui/components/OxyAuthChooser.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/OxyProvider.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/ProfileButton.d.ts +1 -1
- package/lib/typescript/module/ui/components/ProfileButton.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/authChooser/AccountsMenuView.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/authChooser/primitives.d.ts +0 -19
- package/lib/typescript/module/ui/components/authChooser/primitives.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/authChooser/signInFailureMessage.d.ts +1 -5
- package/lib/typescript/module/ui/components/authChooser/signInFailureMessage.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/authChooser/styles.d.ts +0 -31
- package/lib/typescript/module/ui/components/authChooser/styles.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/authChooser/types.d.ts +3 -3
- package/lib/typescript/module/ui/components/oauthNavigation.d.ts +1 -1
- package/lib/typescript/module/ui/components/signIn/InlineCommonsQr.d.ts +20 -0
- package/lib/typescript/module/ui/components/signIn/InlineCommonsQr.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/signIn/OxyAccountPicker.d.ts +34 -0
- package/lib/typescript/module/ui/components/signIn/OxyAccountPicker.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/signIn/OxyAuthScreen.d.ts +43 -0
- package/lib/typescript/module/ui/components/signIn/OxyAuthScreen.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/signIn/OxySignInPanel.d.ts +43 -0
- package/lib/typescript/module/ui/components/signIn/OxySignInPanel.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/signIn/OxySignUpPanel.d.ts +17 -0
- package/lib/typescript/module/ui/components/signIn/OxySignUpPanel.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/signIn/artwork.d.ts +8 -0
- package/lib/typescript/module/ui/components/signIn/artwork.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/signIn/passkeyError.d.ts +16 -0
- package/lib/typescript/module/ui/components/signIn/passkeyError.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/signIn/signInMethods.d.ts +39 -0
- package/lib/typescript/module/ui/components/signIn/signInMethods.d.ts.map +1 -0
- package/lib/typescript/module/ui/context/OxyContext.d.ts.map +1 -1
- package/lib/typescript/module/ui/context/commitSessionFlow.d.ts +0 -40
- package/lib/typescript/module/ui/context/commitSessionFlow.d.ts.map +1 -1
- package/lib/typescript/module/ui/context/oxyContextTypes.d.ts +8 -9
- package/lib/typescript/module/ui/context/oxyContextTypes.d.ts.map +1 -1
- package/lib/typescript/module/ui/hooks/accountDialogSnapshot.d.ts +7 -1
- package/lib/typescript/module/ui/hooks/accountDialogSnapshot.d.ts.map +1 -1
- package/lib/typescript/module/ui/hooks/useDeviceSwitcher.d.ts.map +1 -1
- package/lib/typescript/module/ui/oauth/browserAuthTransport.d.ts +9 -0
- package/lib/typescript/module/ui/oauth/browserAuthTransport.d.ts.map +1 -1
- package/lib/typescript/module/ui/oauth/oauthHandshake.d.ts +3 -0
- package/lib/typescript/module/ui/oauth/oauthHandshake.d.ts.map +1 -1
- package/lib/typescript/module/ui/oauth/oauthPopup.d.ts +2 -3
- package/lib/typescript/module/ui/oauth/oauthPopup.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/ManageAccountScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/session/authStore.d.ts +0 -30
- package/lib/typescript/module/ui/session/authStore.d.ts.map +1 -1
- package/lib/typescript/module/ui/types/navigation.d.ts +0 -26
- package/lib/typescript/module/ui/types/navigation.d.ts.map +1 -1
- package/package.json +4 -7
- package/src/assets/signIn/slide-1.jpg +0 -0
- package/src/assets/signIn/slide-1.jpg.d.ts +3 -0
- package/src/assets/signIn/slide-2.jpg +0 -0
- package/src/assets/signIn/slide-2.jpg.d.ts +3 -0
- package/src/assets/signIn/slide-3.jpg +0 -0
- package/src/assets/signIn/slide-3.jpg.d.ts +3 -0
- package/src/assets/signIn/slide-4.jpg +0 -0
- package/src/assets/signIn/slide-4.jpg.d.ts +3 -0
- package/src/index.ts +16 -7
- package/src/ui/components/OxyAccountDialogScreen.tsx +11 -72
- package/src/ui/components/OxyAuthChooser.tsx +37 -53
- package/src/ui/components/OxyProvider.tsx +0 -2
- package/src/ui/components/ProfileButton.tsx +1 -4
- package/src/ui/components/authChooser/AccountsMenuView.tsx +28 -1
- package/src/ui/components/authChooser/primitives.tsx +1 -39
- package/src/ui/components/authChooser/signInFailureMessage.ts +1 -7
- package/src/ui/components/authChooser/styles.ts +0 -31
- package/src/ui/components/authChooser/types.ts +3 -3
- package/src/ui/components/oauthNavigation.ts +1 -1
- package/src/ui/components/signIn/InlineCommonsQr.tsx +135 -0
- package/src/ui/components/signIn/OxyAccountPicker.tsx +129 -0
- package/src/ui/components/signIn/OxyAuthScreen.tsx +123 -0
- package/src/ui/components/signIn/OxySignInPanel.tsx +392 -0
- package/src/ui/components/signIn/OxySignUpPanel.tsx +86 -0
- package/src/ui/components/signIn/artwork.ts +13 -0
- package/src/ui/components/signIn/passkeyError.ts +44 -0
- package/src/ui/components/signIn/signInMethods.ts +51 -0
- package/src/ui/context/OxyContext.tsx +21 -18
- package/src/ui/context/__tests__/commitSessionFlow.test.ts +0 -89
- package/src/ui/context/commitSessionFlow.ts +0 -61
- package/src/ui/context/oxyContextTypes.ts +9 -9
- package/src/ui/hooks/accountDialogSnapshot.ts +20 -1
- package/src/ui/hooks/useDeviceSwitcher.ts +3 -11
- package/src/ui/oauth/__tests__/browserAuthTransport.test.ts +21 -0
- package/src/ui/oauth/browserAuthTransport.ts +14 -4
- package/src/ui/oauth/oauthHandshake.ts +4 -1
- package/src/ui/oauth/oauthPopup.ts +2 -3
- package/src/ui/screens/ManageAccountScreen.tsx +3 -4
- package/src/ui/screens/trust/TrustLeaderboardScreen.tsx +1 -1
- package/src/ui/session/authStore.ts +0 -37
- package/src/ui/types/navigation.ts +0 -26
- package/src/ui/utils/accountDeletionHandoff.ts +2 -2
- package/lib/commonjs/ui/components/authChooser/SignInEntryView.js +0 -132
- package/lib/commonjs/ui/components/authChooser/SignInEntryView.js.map +0 -1
- package/lib/commonjs/ui/components/authChooser/SignUpView.js +0 -77
- package/lib/commonjs/ui/components/authChooser/SignUpView.js.map +0 -1
- package/lib/commonjs/ui/components/passkeyHubPopup.js +0 -33
- package/lib/commonjs/ui/components/passkeyHubPopup.js.map +0 -1
- package/lib/commonjs/ui/oauth/legacyRedirectLanes.js +0 -48
- package/lib/commonjs/ui/oauth/legacyRedirectLanes.js.map +0 -1
- package/lib/module/ui/components/authChooser/SignInEntryView.js +0 -127
- package/lib/module/ui/components/authChooser/SignInEntryView.js.map +0 -1
- package/lib/module/ui/components/authChooser/SignUpView.js +0 -73
- package/lib/module/ui/components/authChooser/SignUpView.js.map +0 -1
- package/lib/module/ui/components/passkeyHubPopup.js +0 -29
- package/lib/module/ui/components/passkeyHubPopup.js.map +0 -1
- package/lib/module/ui/oauth/legacyRedirectLanes.js +0 -44
- package/lib/module/ui/oauth/legacyRedirectLanes.js.map +0 -1
- package/lib/typescript/commonjs/ui/components/authChooser/SignInEntryView.d.ts +0 -39
- package/lib/typescript/commonjs/ui/components/authChooser/SignInEntryView.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/authChooser/SignUpView.d.ts +0 -31
- package/lib/typescript/commonjs/ui/components/authChooser/SignUpView.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/passkeyHubPopup.d.ts +0 -23
- package/lib/typescript/commonjs/ui/components/passkeyHubPopup.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/oauth/legacyRedirectLanes.d.ts +0 -40
- package/lib/typescript/commonjs/ui/oauth/legacyRedirectLanes.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/authChooser/SignInEntryView.d.ts +0 -39
- package/lib/typescript/module/ui/components/authChooser/SignInEntryView.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/authChooser/SignUpView.d.ts +0 -31
- package/lib/typescript/module/ui/components/authChooser/SignUpView.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/passkeyHubPopup.d.ts +0 -23
- package/lib/typescript/module/ui/components/passkeyHubPopup.d.ts.map +0 -1
- package/lib/typescript/module/ui/oauth/legacyRedirectLanes.d.ts +0 -40
- package/lib/typescript/module/ui/oauth/legacyRedirectLanes.d.ts.map +0 -1
- package/src/ui/components/authChooser/SignInEntryView.tsx +0 -157
- package/src/ui/components/authChooser/SignUpView.tsx +0 -76
- package/src/ui/components/passkeyHubPopup.ts +0 -28
- package/src/ui/oauth/legacyRedirectLanes.ts +0 -43
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* "Choose an account" — every `principal acting as account` pair on this
|
|
3
|
+
* device, then "Use another account".
|
|
4
|
+
*
|
|
5
|
+
* The front screen of sign-in on a returning device, in the account dialog and
|
|
6
|
+
* on every auth.oxy.so page that asks WHO (sign-in, OAuth authorize, device
|
|
7
|
+
* approval, MCP linking). Presentational: the host decides what choosing a row
|
|
8
|
+
* means — a switch, a "Continue as" sign-in, or activating the pair before an
|
|
9
|
+
* OAuth consent — and passes the pair back, never an account id, which cannot
|
|
10
|
+
* say whose route was chosen.
|
|
11
|
+
*/
|
|
12
|
+
import type React from 'react';
|
|
13
|
+
import { type SwitcherContextRow, type SwitcherPrincipalRow } from '@oxy.so/core';
|
|
14
|
+
export interface OxyAccountPickerProps {
|
|
15
|
+
/** The device's people, each with the accounts they may act as (`useDeviceSwitcher`). */
|
|
16
|
+
principals: SwitcherPrincipalRow[];
|
|
17
|
+
/** The app being continued to, when there is one. */
|
|
18
|
+
appName?: string | null;
|
|
19
|
+
onSelectContext: (context: SwitcherContextRow) => void;
|
|
20
|
+
/** "Use another account" — the host reveals its sign-in. */
|
|
21
|
+
onUseAnother: () => void;
|
|
22
|
+
/** The pair being activated, whose row shows it is busy. */
|
|
23
|
+
pendingContextId?: string | null;
|
|
24
|
+
/** Disables every row while a choice is in flight. */
|
|
25
|
+
isLoading?: boolean;
|
|
26
|
+
/**
|
|
27
|
+
* This origin holds no session. A row then reads "Continue as @handle" and
|
|
28
|
+
* never as the current account: the device can list an identity as active
|
|
29
|
+
* while nobody is signed in HERE.
|
|
30
|
+
*/
|
|
31
|
+
signedOut?: boolean;
|
|
32
|
+
}
|
|
33
|
+
export declare const OxyAccountPicker: React.FC<OxyAccountPickerProps>;
|
|
34
|
+
//# sourceMappingURL=OxyAccountPicker.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"OxyAccountPicker.d.ts","sourceRoot":"","sources":["../../../../../../src/ui/components/signIn/OxyAccountPicker.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAM/B,OAAO,EAAyB,KAAK,kBAAkB,EAAE,KAAK,oBAAoB,EAAE,MAAM,cAAc,CAAC;AAMzG,MAAM,WAAW,qBAAqB;IACpC,yFAAyF;IACzF,UAAU,EAAE,oBAAoB,EAAE,CAAC;IACnC,qDAAqD;IACrD,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB,eAAe,EAAE,CAAC,OAAO,EAAE,kBAAkB,KAAK,IAAI,CAAC;IACvD,4DAA4D;IAC5D,YAAY,EAAE,MAAM,IAAI,CAAC;IACzB,4DAA4D;IAC5D,gBAAgB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACjC,sDAAsD;IACtD,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB;;;;OAIG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB;AAED,eAAO,MAAM,gBAAgB,EAAE,KAAK,CAAC,EAAE,CAAC,qBAAqB,CAsE5D,CAAC"}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The shell every Oxy sign-in screen shares — the in-app account dialog and
|
|
3
|
+
* every page of the auth.oxy.so IdP render these, so the two cannot drift:
|
|
4
|
+
*
|
|
5
|
+
* header the Oxy mark (56), then the title (48/800, tight) and a 18px
|
|
6
|
+
* description, 8 apart
|
|
7
|
+
* screen blocks 24 apart, at most 448 wide
|
|
8
|
+
* split from `md`, Bloom `AuthCard`'s split base — max 880, radius 24,
|
|
9
|
+
* 1px border, two equal columns, the right one on the secondary
|
|
10
|
+
* surface; below `md` the right column is dropped, not stacked
|
|
11
|
+
* loading an indeterminate spinner holding the screen's height
|
|
12
|
+
* terms one centred caption linking the Terms of Service and Privacy Policy
|
|
13
|
+
*
|
|
14
|
+
* Layout is NativeWind `className` (breakpoints included). Type stays on
|
|
15
|
+
* Bloom `Text`'s own ramp through `style` — a `className` there drops its
|
|
16
|
+
* default family — and colours come from the Bloom theme.
|
|
17
|
+
*/
|
|
18
|
+
import type React from 'react';
|
|
19
|
+
export interface OxyAuthScreenHeaderProps {
|
|
20
|
+
title: string;
|
|
21
|
+
description?: React.ReactNode;
|
|
22
|
+
}
|
|
23
|
+
/** The Oxy mark over the screen's title and description. */
|
|
24
|
+
export declare const OxyAuthScreenHeader: React.FC<OxyAuthScreenHeaderProps>;
|
|
25
|
+
/** A sign-in screen's column: its blocks 24 apart. `className` extends it (the split's form column). */
|
|
26
|
+
export declare const OxyAuthScreen: React.FC<{
|
|
27
|
+
children: React.ReactNode;
|
|
28
|
+
className?: string;
|
|
29
|
+
}>;
|
|
30
|
+
/** The split card: `children` on the left and, from `md`, `aside` on the right. */
|
|
31
|
+
export declare const OxyAuthSplit: React.FC<{
|
|
32
|
+
children: React.ReactNode;
|
|
33
|
+
aside: React.ReactNode;
|
|
34
|
+
}>;
|
|
35
|
+
/**
|
|
36
|
+
* The screen while there is nothing to show yet. React Native's own indicator:
|
|
37
|
+
* `@oxy.so/bloom/loading` can tree-shake to `undefined` in a rolldown-vite
|
|
38
|
+
* production bundle when co-imported with `@oxy.so/bloom/button`.
|
|
39
|
+
*/
|
|
40
|
+
export declare const OxyAuthLoading: React.FC;
|
|
41
|
+
/** "By continuing, you agree to our Terms of Service and Privacy Policy." */
|
|
42
|
+
export declare const OxyAuthTerms: React.FC;
|
|
43
|
+
//# sourceMappingURL=OxyAuthScreen.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"OxyAuthScreen.d.ts","sourceRoot":"","sources":["../../../../../../src/ui/components/signIn/OxyAuthScreen.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAgB/B,MAAM,WAAW,wBAAwB;IACvC,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC/B;AAED,4DAA4D;AAC5D,eAAO,MAAM,mBAAmB,EAAE,KAAK,CAAC,EAAE,CAAC,wBAAwB,CAqBlE,CAAC;AAEF,wGAAwG;AACxG,eAAO,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC;IAAE,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAAC,SAAS,CAAC,EAAE,MAAM,CAAA;CAAE,CAErF,CAAC;AAEF,mFAAmF;AACnF,eAAO,MAAM,YAAY,EAAE,KAAK,CAAC,EAAE,CAAC;IAAE,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAAC,KAAK,EAAE,KAAK,CAAC,SAAS,CAAA;CAAE,CAmBxF,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,cAAc,EAAE,KAAK,CAAC,EAOlC,CAAC;AAEF,6EAA6E;AAC7E,eAAO,MAAM,YAAY,EAAE,KAAK,CAAC,EAiBhC,CAAC"}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* THE Oxy sign-in screen. The account dialog every Oxy app opens and the
|
|
3
|
+
* auth.oxy.so page render this one component; only where it is mounted
|
|
4
|
+
* differs (`host`).
|
|
5
|
+
*
|
|
6
|
+
* picker a returning device: "Choose an account", then "Use another account"
|
|
7
|
+
* entry the header, the Commons way in, and the way in for someone with no
|
|
8
|
+
* account. On auth.oxy.so (`page`) also the username with its
|
|
9
|
+
* Continue — a username-first passkey sign-in, which takes a
|
|
10
|
+
* platform passkey AND a hardware security key with no resident
|
|
11
|
+
* credential (a U2F key such as a Titan) — and "or continue with" the
|
|
12
|
+
* discoverable passkey. From `md` that page is Bloom `AuthCard`'s
|
|
13
|
+
* split card, with the embedded QR over its photo carousel in the
|
|
14
|
+
* right column; below `md` it is "Continue with Oxy" at the top.
|
|
15
|
+
* In an app's dialog on the web, "Continue with Oxy" opens that page
|
|
16
|
+
* in a window over the app, like "Sign in with Google": the browser's
|
|
17
|
+
* session lives on auth.oxy.so, so every Oxy app shares it. On
|
|
18
|
+
* native it is "Continue with Oxy" ("Get Commons" without Commons).
|
|
19
|
+
*
|
|
20
|
+
* `signInMethods.ts` owns which blocks a platform gets.
|
|
21
|
+
*/
|
|
22
|
+
import type React from 'react';
|
|
23
|
+
export interface OxySignInPanelProps {
|
|
24
|
+
/** This screen signed the origin in. */
|
|
25
|
+
onSignedIn: () => void;
|
|
26
|
+
/** "New to Oxy? Create one". */
|
|
27
|
+
onCreateAccount: () => void;
|
|
28
|
+
/** "Lost your passkey? Recover your account" — auth.oxy.so's page only. */
|
|
29
|
+
onRecover?: () => void;
|
|
30
|
+
/** A handle to pre-fill, skipping the picker (a re-authentication). */
|
|
31
|
+
loginHint?: string;
|
|
32
|
+
/** The app being continued to, when there is one. */
|
|
33
|
+
appName?: string | null;
|
|
34
|
+
/**
|
|
35
|
+
* `dialog` — inside the account dialog, which the controller closes itself
|
|
36
|
+
* once a request it runs signs in, and where a request shows in place.
|
|
37
|
+
* `page` — a page of its own (auth.oxy.so): a request opens the dialog to
|
|
38
|
+
* show it, and its completion is reported through `onSignedIn` too.
|
|
39
|
+
*/
|
|
40
|
+
host?: 'dialog' | 'page';
|
|
41
|
+
}
|
|
42
|
+
export declare const OxySignInPanel: React.FC<OxySignInPanelProps>;
|
|
43
|
+
//# sourceMappingURL=OxySignInPanel.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"OxySignInPanel.d.ts","sourceRoot":"","sources":["../../../../../../src/ui/components/signIn/OxySignInPanel.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;GAoBG;AAEH,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AA6B/B,MAAM,WAAW,mBAAmB;IAClC,wCAAwC;IACxC,UAAU,EAAE,MAAM,IAAI,CAAC;IACvB,gCAAgC;IAChC,eAAe,EAAE,MAAM,IAAI,CAAC;IAC5B,2EAA2E;IAC3E,SAAS,CAAC,EAAE,MAAM,IAAI,CAAC;IACvB,uEAAuE;IACvE,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,qDAAqD;IACrD,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB;;;;;OAKG;IACH,IAAI,CAAC,EAAE,QAAQ,GAAG,MAAM,CAAC;CAC1B;AAED,eAAO,MAAM,cAAc,EAAE,KAAK,CAAC,EAAE,CAAC,mBAAmB,CAySxD,CAAC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Account creation in the account dialog.
|
|
3
|
+
*
|
|
4
|
+
* On the web the account is made on auth.oxy.so, in its window over the app
|
|
5
|
+
* (`onCreateOnWeb`), and this app is signed in as it. On native, Commons
|
|
6
|
+
* creates the identity: straight in when it is installed, "Get Commons"
|
|
7
|
+
* otherwise.
|
|
8
|
+
*/
|
|
9
|
+
import type React from 'react';
|
|
10
|
+
export interface OxySignUpPanelProps {
|
|
11
|
+
/** "Already have an account? Sign in". */
|
|
12
|
+
onSignIn: () => void;
|
|
13
|
+
/** The web's one action: auth.oxy.so's sign-up, in its window. */
|
|
14
|
+
onCreateOnWeb: () => void;
|
|
15
|
+
}
|
|
16
|
+
export declare const OxySignUpPanel: React.FC<OxySignUpPanelProps>;
|
|
17
|
+
//# sourceMappingURL=OxySignUpPanel.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"OxySignUpPanel.d.ts","sourceRoot":"","sources":["../../../../../../src/ui/components/signIn/OxySignUpPanel.tsx"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAkB/B,MAAM,WAAW,mBAAmB;IAClC,0CAA0C;IAC1C,QAAQ,EAAE,MAAM,IAAI,CAAC;IACrB,kEAAkE;IAClE,aAAa,EAAE,MAAM,IAAI,CAAC;CAC3B;AAED,eAAO,MAAM,cAAc,EAAE,KAAK,CAAC,EAAE,CAAC,mBAAmB,CAmDxD,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The photos the sign-in split card's carousel turns through. Shipped with the
|
|
3
|
+
* SDK and imported like its icon fonts, so every host serves them from its own
|
|
4
|
+
* origin — nothing to allow in anyone's CSP.
|
|
5
|
+
*/
|
|
6
|
+
import type { AuthMediaSlide } from '@oxy.so/bloom/auth-card';
|
|
7
|
+
export declare const SIGN_IN_SLIDES: AuthMediaSlide[];
|
|
8
|
+
//# sourceMappingURL=artwork.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"artwork.d.ts","sourceRoot":"","sources":["../../../../../../src/ui/components/signIn/artwork.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAC;AAM9D,eAAO,MAAM,cAAc,EAAE,cAAc,EAAmE,CAAC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The message for a failed passkey sign-in, and whether it was rate-limited.
|
|
3
|
+
*
|
|
4
|
+
* A dismissed or timed-out browser prompt rejects with a `NotAllowedError` /
|
|
5
|
+
* `AbortError` DOMException, often re-wrapped by `@simplewebauthn/browser` as a
|
|
6
|
+
* `WebAuthnError` whose `cause` is the original — so the cancellation shape is
|
|
7
|
+
* looked for along the cause chain, and reported calmly instead of as the raw
|
|
8
|
+
* "The operation either timed out or was not allowed…".
|
|
9
|
+
*/
|
|
10
|
+
import type { Translate } from '../authChooser/types';
|
|
11
|
+
/** How long the surface waits after a 429 before it lets the person retry. */
|
|
12
|
+
export declare const RATE_LIMIT_SECONDS = 60;
|
|
13
|
+
export declare function isRateLimited(error: unknown): boolean;
|
|
14
|
+
/** The inline message for a passkey ceremony that did not sign anyone in. */
|
|
15
|
+
export declare function describePasskeyError(error: unknown, t: Translate): string;
|
|
16
|
+
//# sourceMappingURL=passkeyError.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"passkeyError.d.ts","sourceRoot":"","sources":["../../../../../../src/ui/components/signIn/passkeyError.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAEtD,8EAA8E;AAC9E,eAAO,MAAM,kBAAkB,KAAK,CAAC;AAqBrC,wBAAgB,aAAa,CAAC,KAAK,EAAE,OAAO,GAAG,OAAO,CAErD;AAED,6EAA6E;AAC7E,wBAAgB,oBAAoB,CAAC,KAAK,EAAE,OAAO,EAAE,CAAC,EAAE,SAAS,GAAG,MAAM,CAIzE"}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Which sign-in methods a surface offers, from where it runs.
|
|
3
|
+
*
|
|
4
|
+
* One screen everywhere; only the transport behind each block changes:
|
|
5
|
+
*
|
|
6
|
+
* - auth.oxy.so (`page`) is where the web signs in: the embedded Commons QR
|
|
7
|
+
* (the split card's right column from `md`, "Continue with Oxy" below it),
|
|
8
|
+
* the username with its Continue, and the passkey — asserted right here,
|
|
9
|
+
* on the one origin every Oxy passkey belongs to;
|
|
10
|
+
* - an app's account dialog on the web (`dialog`) opens that screen in a
|
|
11
|
+
* window over the app ("Continue with Oxy"), like "Sign in with Google":
|
|
12
|
+
* the browser's session lives on auth.oxy.so, so every Oxy app shares it;
|
|
13
|
+
* - native signs in with Commons: "Continue with Oxy", or "Get Commons" on a
|
|
14
|
+
* device that has no Commons to continue with.
|
|
15
|
+
*/
|
|
16
|
+
import type { CommonsAvailability } from '@oxy.so/core';
|
|
17
|
+
/**
|
|
18
|
+
* `qr` — auth.oxy.so: the embedded QR from `md`, "Continue with Oxy" below.
|
|
19
|
+
* `window` — an app on the web: "Continue with Oxy" opens auth.oxy.so's window.
|
|
20
|
+
* `continue` — native "Continue with Oxy": Oxy picks the route (shared
|
|
21
|
+
* keychain, Commons on this device, a push, or the QR view).
|
|
22
|
+
* `get-commons` — native, and Commons is not installed here.
|
|
23
|
+
*/
|
|
24
|
+
export type CommonsEntry = 'qr' | 'window' | 'continue' | 'get-commons';
|
|
25
|
+
export interface SignInMethods {
|
|
26
|
+
commons: CommonsEntry;
|
|
27
|
+
/** The username and passkey block: only on auth.oxy.so. */
|
|
28
|
+
passkey: boolean;
|
|
29
|
+
}
|
|
30
|
+
export interface SignInSurfaceFacts {
|
|
31
|
+
/** Rendering in a browser (react-native-web), not a native app. */
|
|
32
|
+
web: boolean;
|
|
33
|
+
/** `page` is auth.oxy.so; `dialog` is an app's account dialog. */
|
|
34
|
+
host: 'dialog' | 'page';
|
|
35
|
+
/** The controller's native probe for an installed Commons. */
|
|
36
|
+
commonsAvailability: CommonsAvailability;
|
|
37
|
+
}
|
|
38
|
+
export declare function resolveSignInMethods(facts: SignInSurfaceFacts): SignInMethods;
|
|
39
|
+
//# sourceMappingURL=signInMethods.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"signInMethods.d.ts","sourceRoot":"","sources":["../../../../../../src/ui/components/signIn/signInMethods.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,cAAc,CAAC;AAExD;;;;;;GAMG;AACH,MAAM,MAAM,YAAY,GAAG,IAAI,GAAG,QAAQ,GAAG,UAAU,GAAG,aAAa,CAAC;AAExE,MAAM,WAAW,aAAa;IAC5B,OAAO,EAAE,YAAY,CAAC;IACtB,2DAA2D;IAC3D,OAAO,EAAE,OAAO,CAAC;CAClB;AAED,MAAM,WAAW,kBAAkB;IACjC,mEAAmE;IACnE,GAAG,EAAE,OAAO,CAAC;IACb,kEAAkE;IAClE,IAAI,EAAE,QAAQ,GAAG,MAAM,CAAC;IACxB,8DAA8D;IAC9D,mBAAmB,EAAE,mBAAmB,CAAC;CAC1C;AAED,wBAAgB,oBAAoB,CAAC,KAAK,EAAE,kBAAkB,GAAG,aAAa,CAQ7E"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"OxyContext.d.ts","sourceRoot":"","sources":["../../../../../src/ui/context/OxyContext.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"OxyContext.d.ts","sourceRoot":"","sources":["../../../../../src/ui/context/OxyContext.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAsF/B,OAAO,KAAK,EACV,eAAe,EACf,uBAAuB,EAExB,MAAM,mBAAmB,CAAC;AAgB3B,YAAY,EAAE,YAAY,EAAE,eAAe,EAAE,uBAAuB,EAAE,MAAM,mBAAmB,CAAC;AAIhG,KAAK,0BAA0B,GAAG,IAAI,CACpC,eAAe,EACb,QAAQ,GACR,QAAQ,GACR,WAAW,GACX,iBAAiB,GACjB,aAAa,GACb,iBAAiB,GACjB,aAAa,GACb,cAAc,GACd,iBAAiB,GACjB,kBAAkB,GAClB,mBAAmB,CACtB,CAAC;AAIF;;;;;;;;;;GAUG;AACH,eAAO,MAAM,kBAAkB,EAAE,KAAK,CAAC,EAAE,CAAC,uBAAuB,CA6vChE,CAAC;AAMF,qBAAa,uBAAwB,SAAQ,KAAK;IAChD,QAAQ,CAAC,IAAI,0BAA0B;;CAMxC;AAED;;;;;;;;;;GAUG;AACH,eAAO,MAAM,MAAM,QAAO,eAMzB,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,cAAc,QAAO,eAAe,GAAG,IAAqC,CAAC;AAE1F,kFAAkF;AAClF,eAAO,MAAM,iBAAiB,QAAO,0BAMpC,CAAC"}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import type { User } from '@oxy.so/core';
|
|
2
|
-
import type { WebAuthMode } from '../oauth/types';
|
|
3
2
|
export interface CommitDeviceSetAndResolveDeps {
|
|
4
3
|
/**
|
|
5
4
|
* Whether this commit is a deliberate sign-in on THIS device (activates the
|
|
@@ -39,43 +38,4 @@ export interface CommitDeviceSetAndResolveDeps {
|
|
|
39
38
|
* a DETACHED background task a moment later.
|
|
40
39
|
*/
|
|
41
40
|
export declare function commitDeviceSetAndResolve(deps: CommitDeviceSetAndResolveDeps): Promise<void>;
|
|
42
|
-
export interface MaybeSyncHubAfterCommitDeps {
|
|
43
|
-
/** Deliberate sign-in (`true`) vs. a cold-boot / background commit (`false`). */
|
|
44
|
-
activate: boolean;
|
|
45
|
-
/** Per-commit opt-in — `commitSession`'s `options.hubSync`. */
|
|
46
|
-
hubSyncRequested: boolean;
|
|
47
|
-
/** Provider-level opt-out — `OxyProviderProps.hubSync`. */
|
|
48
|
-
hubSyncEnabled: boolean;
|
|
49
|
-
/**
|
|
50
|
-
* The provider's web sign-in transport — `OxyProviderProps.webAuthMode`.
|
|
51
|
-
* A first-class input: `'popup'` forbids the redirect outright.
|
|
52
|
-
*/
|
|
53
|
-
webAuthMode: WebAuthMode;
|
|
54
|
-
/**
|
|
55
|
-
* Starts the full-page hop to `auth.oxy.so/sync`; resolves `true` when the
|
|
56
|
-
* navigation was actually started.
|
|
57
|
-
*/
|
|
58
|
-
syncHub: () => Promise<boolean>;
|
|
59
|
-
}
|
|
60
|
-
/**
|
|
61
|
-
* Post-sign-in hub sync: plant this device's credential on the IdP hub so OTHER
|
|
62
|
-
* official origins can silently restore a session on their next cold boot.
|
|
63
|
-
*
|
|
64
|
-
* The tail of the ONE commit funnel (`commitSession`), extracted so every gate
|
|
65
|
-
* on this legacy lane lives — and is tested — in one place. Returns whether the
|
|
66
|
-
* full-page redirect was started; a failure is non-fatal and never propagates
|
|
67
|
-
* (the sign-in itself already succeeded).
|
|
68
|
-
*
|
|
69
|
-
* Four gates, all of which must pass:
|
|
70
|
-
* 1. `activate` — only a deliberate sign-in syncs; a cold-boot restore never does.
|
|
71
|
-
* 2. `hubSyncRequested` — the in-place lanes (account switch, popup OAuth) opt out.
|
|
72
|
-
* 3. `hubSyncEnabled` — the provider-level `hubSync` prop.
|
|
73
|
-
* 4. `allowsAutomaticIdpRedirect(webAuthMode)` — hub sync REPLACES the document
|
|
74
|
-
* with `auth.oxy.so`, so `webAuthMode: 'popup'` forbids it: a redirect that
|
|
75
|
-
* bounces the tab defeats the entire point of the mode, no matter which
|
|
76
|
-
* commit path produced the session (issue #691, "Cold boot and cross-domain
|
|
77
|
-
* behavior"). Redirect mode — the default and the compatibility path — is
|
|
78
|
-
* unchanged, and this whole function disappears with it in phase 7b.
|
|
79
|
-
*/
|
|
80
|
-
export declare function maybeSyncHubAfterCommit(deps: MaybeSyncHubAfterCommitDeps): Promise<boolean>;
|
|
81
41
|
//# sourceMappingURL=commitSessionFlow.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"commitSessionFlow.d.ts","sourceRoot":"","sources":["../../../../../src/ui/context/commitSessionFlow.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;
|
|
1
|
+
{"version":3,"file":"commitSessionFlow.d.ts","sourceRoot":"","sources":["../../../../../src/ui/context/commitSessionFlow.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AAMzC,MAAM,WAAW,6BAA6B;IAC5C;;;;;OAKG;IACH,QAAQ,EAAE,OAAO,CAAC;IAClB,0EAA0E;IAC1E,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,sEAAsE;IACtE,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,iFAAiF;IACjF,YAAY,EAAE,IAAI,GAAG,IAAI,CAAC;IAC1B,6EAA6E;IAC7E,mBAAmB,EAAE,CAAC,MAAM,CAAC,EAAE,MAAM,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;IACxD,8EAA8E;IAC9E,iBAAiB,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAC;IACvC,sCAAsC;IACtC,WAAW,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAC;IACjC,yEAAyE;IACzE,cAAc,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAC;IACpC,6EAA6E;IAC7E,cAAc,EAAE,MAAM,OAAO,CAAC,IAAI,GAAG,IAAI,CAAC,CAAC;IAC3C,YAAY,EAAE,CAAC,IAAI,EAAE,IAAI,KAAK,IAAI,CAAC;IACnC,iBAAiB,CAAC,EAAE,CAAC,IAAI,EAAE,IAAI,GAAG,IAAI,KAAK,IAAI,CAAC;IAChD,gBAAgB,EAAE,MAAM,IAAI,CAAC;CAC9B;AAED;;;;;;;;;GASG;AACH,wBAAsB,yBAAyB,CAC7C,IAAI,EAAE,6BAA6B,GAClC,OAAO,CAAC,IAAI,CAAC,CAoFf"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { ReactNode } from 'react';
|
|
2
|
-
import type { OxyServices, User, SessionLoginResponse, AccountNode, CreateAccountInput, ClientSession, AccountDialogController, AccountDialogView, ApiError, SessionClient, SessionMode } from '@oxy.so/core';
|
|
2
|
+
import type { OxyServices, User, SessionLoginResponse, AccountNode, CreateAccountInput, ClientSession, AccountDialogController, AccountDialogView, ApiError, SessionClient, SessionMode, OxyAuthScreen } from '@oxy.so/core';
|
|
3
3
|
import type { UseFollowHook } from '../hooks/useFollow.types';
|
|
4
4
|
import type { useLanguageManagement } from '../hooks/useLanguageManagement';
|
|
5
5
|
import type { RouteName } from '../navigation/routes';
|
|
@@ -118,6 +118,13 @@ export interface OxyContextState {
|
|
|
118
118
|
* resolve to `{ status: 'unsupported' }`.
|
|
119
119
|
*/
|
|
120
120
|
startWebOAuthSignIn: (options: StartWebOAuthSignInOptions) => Promise<WebOAuthSignInResult>;
|
|
121
|
+
/**
|
|
122
|
+
* Sign in (`signin`), create an account (`signup`) or recover one
|
|
123
|
+
* (`recover`) in auth.oxy.so's window over the app, where the browser's
|
|
124
|
+
* shared Oxy session lives. Web only; call it from the press, so the window
|
|
125
|
+
* opens with the gesture.
|
|
126
|
+
*/
|
|
127
|
+
continueOnAuth: (screen: OxyAuthScreen) => Promise<WebOAuthSignInResult>;
|
|
121
128
|
/**
|
|
122
129
|
* Ask the already-authenticated user for explicit OAuth consent to exact
|
|
123
130
|
* application scopes. Must be called from a user gesture. Works on web and
|
|
@@ -210,14 +217,6 @@ export interface OxyRuntimeProviderProps {
|
|
|
210
217
|
* @default false
|
|
211
218
|
*/
|
|
212
219
|
backgroundSession?: boolean;
|
|
213
|
-
/**
|
|
214
|
-
* Whether this origin/app persists the durable device credential at all. See
|
|
215
|
-
* `OxyProviderProps.deviceCredentialStorage` for the full rule and the one
|
|
216
|
-
* caller of `'ephemeral'`.
|
|
217
|
-
*
|
|
218
|
-
* @default 'persistent'
|
|
219
|
-
*/
|
|
220
|
-
deviceCredentialStorage?: 'persistent' | 'ephemeral';
|
|
221
220
|
onAuthStateChange?: (user: User | null) => void;
|
|
222
221
|
onError?: (error: ApiError) => void;
|
|
223
222
|
/** Storage instance owned by the public provider; internal composition seam. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"oxyContextTypes.d.ts","sourceRoot":"","sources":["../../../../../src/ui/context/oxyContextTypes.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,KAAK,EAAE,WAAW,EAAE,IAAI,EAAE,oBAAoB,EAAE,WAAW,EAAE,kBAAkB,EAAE,aAAa,EAAE,uBAAuB,EAAE,iBAAiB,EAAE,QAAQ,EAAE,aAAa,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;
|
|
1
|
+
{"version":3,"file":"oxyContextTypes.d.ts","sourceRoot":"","sources":["../../../../../src/ui/context/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AAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,WAAW,CAAC,EAAE,WAAW,CAAC;IAC1B;;;OAGG;IACH,WAAW,CAAC,EAAE,WAAW,CAAC;IAC1B;;;;;;;;;;;;;;;;;;;;OAoBG;IACH,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B,iBAAiB,CAAC,EAAE,CAAC,IAAI,EAAE,IAAI,GAAG,IAAI,KAAK,IAAI,CAAC;IAChD,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,QAAQ,KAAK,IAAI,CAAC;IACpC,gFAAgF;IAChF,eAAe,CAAC,EAAE,gBAAgB,GAAG,IAAI,CAAC;CAC3C;AAED,0EAA0E;AAC1E,MAAM,WAAW,WAAW;IAC1B,SAAS,EAAE,MAAM,CAAC;IAClB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,IAAI,CAAC,EAAE;QAAE,EAAE,EAAE,MAAM,CAAC;QAAC,QAAQ,CAAC,EAAE,MAAM,CAAC;QAAC,MAAM,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC;IAC1D,kFAAkF;IAClF,WAAW,CAAC,EAAE,OAAO,mBAAmB,EAAE,kBAAkB,CAAC;CAC9D"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { AccountDialogSnapshot } from '@oxy.so/core';
|
|
1
|
+
import type { AccountDialogController, AccountDialogSnapshot } from '@oxy.so/core';
|
|
2
2
|
/**
|
|
3
3
|
* The snapshot `useSyncExternalStore` reads before a controller exists.
|
|
4
4
|
*
|
|
@@ -12,4 +12,10 @@ import type { AccountDialogSnapshot } from '@oxy.so/core';
|
|
|
12
12
|
* compiler point at one place.
|
|
13
13
|
*/
|
|
14
14
|
export declare const EMPTY_ACCOUNT_DIALOG_SNAPSHOT: AccountDialogSnapshot;
|
|
15
|
+
/**
|
|
16
|
+
* Bind a surface to `controller`'s snapshot (the inert one while there is no
|
|
17
|
+
* controller). `getSnapshot` returns a stable reference between changes, so
|
|
18
|
+
* it is `useSyncExternalStore`-safe.
|
|
19
|
+
*/
|
|
20
|
+
export declare function useAccountDialogSnapshot(controller: AccountDialogController | null): AccountDialogSnapshot;
|
|
15
21
|
//# sourceMappingURL=accountDialogSnapshot.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"accountDialogSnapshot.d.ts","sourceRoot":"","sources":["../../../../../src/ui/hooks/accountDialogSnapshot.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"accountDialogSnapshot.d.ts","sourceRoot":"","sources":["../../../../../src/ui/hooks/accountDialogSnapshot.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,uBAAuB,EAAE,qBAAqB,EAAE,MAAM,cAAc,CAAC;AAEnF;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,6BAA6B,EAAE,qBA2B3C,CAAC;AAEF;;;;GAIG;AACH,wBAAgB,wBAAwB,CAAC,UAAU,EAAE,uBAAuB,GAAG,IAAI,GAAG,qBAAqB,CAU1G"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useDeviceSwitcher.d.ts","sourceRoot":"","sources":["../../../../../src/ui/hooks/useDeviceSwitcher.ts"],"names":[],"mappings":"AACA,OAAO,EAGH,KAAK,aAAa,EAClB,KAAK,oBAAoB,EAC5B,MAAM,cAAc,CAAC;AAKtB,MAAM,WAAW,uBAAuB;IACpC;;;;;;;OAOG;IACH,UAAU,EAAE,oBAAoB,EAAE,CAAC;IACnC,gEAAgE;IAChE,aAAa,EAAE,aAAa,GAAG,IAAI,CAAC;IACpC,wEAAwE;IACxE,SAAS,EAAE,OAAO,CAAC;IACnB,6DAA6D;IAC7D,mBAAmB,EAAE,MAAM,GAAG,IAAI,CAAC;IACn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,CAAC,WAAW,EAAE,MAAM,KAAK,OAAO,CAAC,OAAO,CAAC,CAAC;CAC/D;AAED;;;;;;;;;;;;;;GAcG;AACH,wBAAgB,iBAAiB,IAAI,uBAAuB,CA2C3D"}
|
|
@@ -13,6 +13,7 @@
|
|
|
13
13
|
* Native is NOT handled here: `openAuthorizeUrlNative` (an in-app auth session)
|
|
14
14
|
* remains the native lane and is untouched by this module.
|
|
15
15
|
*/
|
|
16
|
+
import { type OxyAuthScreen } from '@oxy.so/core';
|
|
16
17
|
import type { OxyServices } from '@oxy.so/core';
|
|
17
18
|
import type { OAuthPopupHandle, OAuthSessionCommitInput, WebAuthMode, WebOAuthSignInResult } from './types';
|
|
18
19
|
/** Provider-owned wiring for a web sign-in — everything that is not per-press. */
|
|
@@ -49,6 +50,14 @@ export interface StartWebOAuthSignInOptions {
|
|
|
49
50
|
popup?: OAuthPopupHandle | null;
|
|
50
51
|
/** Requested scope; defaults to the SDK's standard sign-in scope. */
|
|
51
52
|
scope?: string;
|
|
53
|
+
/**
|
|
54
|
+
* The transport for this press, whatever the provider's `webAuthMode`. An
|
|
55
|
+
* Oxy app's own account dialog asks for `popup`: auth.oxy.so's window over
|
|
56
|
+
* the app, where the browser's shared session lives.
|
|
57
|
+
*/
|
|
58
|
+
transport?: WebAuthMode;
|
|
59
|
+
/** The IdP screen a person with no session there lands on. */
|
|
60
|
+
screen?: OxyAuthScreen;
|
|
52
61
|
/** Popup timeout override (ms). */
|
|
53
62
|
timeoutMs?: number;
|
|
54
63
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"browserAuthTransport.d.ts","sourceRoot":"","sources":["../../../../../src/ui/oauth/browserAuthTransport.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;
|
|
1
|
+
{"version":3,"file":"browserAuthTransport.d.ts","sourceRoot":"","sources":["../../../../../src/ui/oauth/browserAuthTransport.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAiC,KAAK,aAAa,EAAE,MAAM,cAAc,CAAC;AACjF,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAMhD,OAAO,KAAK,EACV,gBAAgB,EAChB,uBAAuB,EACvB,WAAW,EAEX,oBAAoB,EACrB,MAAM,SAAS,CAAC;AAEjB,kFAAkF;AAClF,MAAM,WAAW,wBAAwB;IACvC,oCAAoC;IACpC,IAAI,EAAE,WAAW,CAAC;IAClB,WAAW,EAAE,WAAW,CAAC;IACzB,2EAA2E;IAC3E,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB,+DAA+D;IAC/D,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,8EAA8E;IAC9E,aAAa,EAAE,OAAO,CAAC;IACvB,4CAA4C;IAC5C,aAAa,EAAE,CAAC,KAAK,EAAE,uBAAuB,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;CAClE;AAED,wDAAwD;AACxD,MAAM,WAAW,0BAA0B;IACzC,0DAA0D;IAC1D,WAAW,EAAE,MAAM,CAAC;IACpB;;;;;;;;;;;;OAYG;IACH,KAAK,CAAC,EAAE,gBAAgB,GAAG,IAAI,CAAC;IAChC,qEAAqE;IACrE,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;;;OAIG;IACH,SAAS,CAAC,EAAE,WAAW,CAAC;IACxB,8DAA8D;IAC9D,MAAM,CAAC,EAAE,aAAa,CAAC;IACvB,mCAAmC;IACnC,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,wBAAsB,mBAAmB,CACvC,OAAO,EAAE,wBAAwB,EACjC,OAAO,EAAE,0BAA0B,GAClC,OAAO,CAAC,oBAAoB,CAAC,CAuF/B"}
|
|
@@ -8,6 +8,7 @@
|
|
|
8
8
|
* else — `S256` PKCE, exact registered `redirect_uri`, random `state` — is
|
|
9
9
|
* identical, which is what lets both lanes converge on one completion path.
|
|
10
10
|
*/
|
|
11
|
+
import { type OxyAuthScreen } from '@oxy.so/core';
|
|
11
12
|
import type { OAuthHandshake } from './types';
|
|
12
13
|
/** Inputs for {@link prepareAuthorizeRequest}. */
|
|
13
14
|
export interface PrepareAuthorizeRequestParams {
|
|
@@ -25,6 +26,8 @@ export interface PrepareAuthorizeRequestParams {
|
|
|
25
26
|
* not a guarantee — an IdP with no opener still redirects.
|
|
26
27
|
*/
|
|
27
28
|
responseMode?: 'web_message';
|
|
29
|
+
/** The IdP screen a person with no session there lands on. */
|
|
30
|
+
screen?: OxyAuthScreen;
|
|
28
31
|
}
|
|
29
32
|
/** A ready-to-use authorize request plus the secrets that finish it. */
|
|
30
33
|
export interface PreparedAuthorizeRequest {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"oauthHandshake.d.ts","sourceRoot":"","sources":["../../../../../src/ui/oauth/oauthHandshake.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;
|
|
1
|
+
{"version":3,"file":"oauthHandshake.d.ts","sourceRoot":"","sources":["../../../../../src/ui/oauth/oauthHandshake.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAEH,OAAO,EAAgE,KAAK,aAAa,EAAE,MAAM,cAAc,CAAC;AAChH,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,SAAS,CAAC;AAE9C,kDAAkD;AAClD,MAAM,WAAW,6BAA6B;IAC5C,sEAAsE;IACtE,QAAQ,EAAE,MAAM,CAAC;IACjB,gFAAgF;IAChF,WAAW,EAAE,MAAM,CAAC;IACpB,uEAAuE;IACvE,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,qEAAqE;IACrE,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;;;OAIG;IACH,YAAY,CAAC,EAAE,aAAa,CAAC;IAC7B,8DAA8D;IAC9D,MAAM,CAAC,EAAE,aAAa,CAAC;CACxB;AAED,wEAAwE;AACxE,MAAM,WAAW,wBAAwB;IACvC,+CAA+C;IAC/C,YAAY,EAAE,MAAM,CAAC;IACrB;;;OAGG;IACH,eAAe,EAAE,MAAM,CAAC;IACxB,4DAA4D;IAC5D,SAAS,EAAE,cAAc,CAAC;CAC3B;AAED;;;;;;;GAOG;AACH,wBAAsB,uBAAuB,CAC3C,MAAM,EAAE,6BAA6B,GACpC,OAAO,CAAC,wBAAwB,CAAC,CAmBnC"}
|
|
@@ -11,10 +11,9 @@
|
|
|
11
11
|
* is still being handled. Anything awaited first (resolving the application,
|
|
12
12
|
* generating PKCE) loses it and the popup is silently blocked. So the window
|
|
13
13
|
* is opened EMPTY up front and navigated once the authorize URL exists —
|
|
14
|
-
*
|
|
14
|
+
* a plain function a test can substitute.
|
|
15
15
|
* - **No close event.** A cross-origin popup fires nothing when the user
|
|
16
|
-
* dismisses it; polling `closed` is the only mechanism
|
|
17
|
-
* `AccountDialogController.watchPopup`).
|
|
16
|
+
* dismisses it; polling `closed` is the only mechanism.
|
|
18
17
|
* - **No cross-origin reads.** The popup's URL, title, and document are all
|
|
19
18
|
* opaque. The authorization result arrives ONLY as a `postMessage`.
|
|
20
19
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"oauthPopup.d.ts","sourceRoot":"","sources":["../../../../../src/ui/oauth/oauthPopup.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"oauthPopup.d.ts","sourceRoot":"","sources":["../../../../../src/ui/oauth/oauthPopup.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;GAkBG;AAIH,OAAO,KAAK,EAAE,gBAAgB,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAC;AAEnE;;;GAGG;AACH,eAAO,MAAM,2BAA2B,cAAc,CAAC;AAKvD;;;;;;;;GAQG;AACH,eAAO,MAAM,8BAA8B,SAAU,CAAC;AAkCtD;;;;;;;GAOG;AACH,wBAAgB,cAAc,IAAI,gBAAgB,GAAG,IAAI,CASxD;AAED;;;;GAIG;AACH,wBAAgB,kBAAkB,CAAC,KAAK,EAAE,gBAAgB,EAAE,GAAG,EAAE,MAAM,GAAG,OAAO,CAQhF;AAED,gFAAgF;AAChF,wBAAgB,eAAe,CAAC,KAAK,EAAE,gBAAgB,GAAG,IAAI,GAAG,IAAI,CAOpE;AA2CD,gDAAgD;AAChD,MAAM,WAAW,sBAAsB;IACrC,qEAAqE;IACrE,KAAK,EAAE,gBAAgB,CAAC;IACxB,4EAA4E;IAC5E,cAAc,EAAE,MAAM,CAAC;IACvB,sDAAsD;IACtD,aAAa,EAAE,MAAM,CAAC;IACtB;;;;OAIG;IACH,WAAW,EAAE,MAAM,CAAC;IACpB,8CAA8C;IAC9C,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED;;;;;;;;;;GAUG;AACH,wBAAgB,qBAAqB,CACnC,OAAO,EAAE,sBAAsB,GAC9B,OAAO,CAAC,iBAAiB,CAAC,CAmF5B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ManageAccountScreen.d.ts","sourceRoot":"","sources":["../../../../../src/ui/screens/ManageAccountScreen.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAwB/B,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAgD3D;;;;;;;GAOG;AACH,QAAA,MAAM,mBAAmB,EAAE,KAAK,CAAC,EAAE,CAAC,eAAe,
|
|
1
|
+
{"version":3,"file":"ManageAccountScreen.d.ts","sourceRoot":"","sources":["../../../../../src/ui/screens/ManageAccountScreen.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAwB/B,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAgD3D;;;;;;;GAOG;AACH,QAAA,MAAM,mBAAmB,EAAE,KAAK,CAAC,EAAE,CAAC,eAAe,CAu2BlD,CAAC;AAYF,eAAe,mBAAmB,CAAC"}
|
|
@@ -7,7 +7,6 @@
|
|
|
7
7
|
* store shape + logic (`createWebAuthStateStore` / `createNativeAuthStateStore` /
|
|
8
8
|
* `createMemoryAuthStateStore`); this module only selects the seam:
|
|
9
9
|
*
|
|
10
|
-
* - `storage: 'ephemeral'` → `createMemoryAuthStateStore()`, on EVERY platform.
|
|
11
10
|
* - web → `createWebAuthStateStore()` (localStorage, in-memory fallback).
|
|
12
11
|
* - native → `createNativeAuthStateStore(secureKV)` for the SESSION blob over
|
|
13
12
|
* the shared `createNativeSecureKeyValueStorage()` adapter
|
|
@@ -35,20 +34,6 @@ export interface PlatformAuthStateStoreOptions {
|
|
|
35
34
|
* a decision a storage seam gets to make.
|
|
36
35
|
*/
|
|
37
36
|
sessionMode?: SessionMode;
|
|
38
|
-
/**
|
|
39
|
-
* Whether this origin/app may persist a durable device credential AT ALL.
|
|
40
|
-
*
|
|
41
|
-
* `'ephemeral'` stores nothing durable and mirrors nothing: the session lives
|
|
42
|
-
* in memory for the lifetime of the page and is gone on reload. Its one caller
|
|
43
|
-
* is `auth.oxy.so` with the browser hub enabled (issue #937 Phase 5, ADR 0003),
|
|
44
|
-
* where the durable credential for the browser profile is the server-side
|
|
45
|
-
* DeviceSession behind the `__Host-oxy-device` handle.
|
|
46
|
-
*
|
|
47
|
-
* See `OxyProviderProps.deviceCredentialStorage` for why the answer to "let the
|
|
48
|
-
* hub be authoritative" is to stop persisting the other credential rather than
|
|
49
|
-
* to consult it second.
|
|
50
|
-
*/
|
|
51
|
-
storage?: 'persistent' | 'ephemeral';
|
|
52
37
|
}
|
|
53
38
|
/**
|
|
54
39
|
* Build the platform {@link AuthStateStore} for this runtime.
|
|
@@ -56,21 +41,6 @@ export interface PlatformAuthStateStoreOptions {
|
|
|
56
41
|
* Native persists the SESSION blob (`deviceId` + `deviceSecret` + cached access
|
|
57
42
|
* token) per-app in SecureStore; the SDK re-mints the access token from the
|
|
58
43
|
* device credential on the next cold boot.
|
|
59
|
-
*
|
|
60
|
-
* ## The ephemeral check is FIRST, and the order is load-bearing
|
|
61
|
-
*
|
|
62
|
-
* It short-circuits above the `isReactNative()` branch so an ephemeral caller can
|
|
63
|
-
* never reach the native path — and therefore can never reach the shared-slot
|
|
64
|
-
* mirroring wrapper. Checked after that branch instead, an origin that has
|
|
65
|
-
* declined to persist a credential would publish one into the device-wide slot
|
|
66
|
-
* every sibling app adopts on cold boot: it would keep nothing itself while
|
|
67
|
-
* deciding which session five other apps boot into.
|
|
68
|
-
*
|
|
69
|
-
* That is unreachable today because the only ephemeral caller is a web origin, so
|
|
70
|
-
* `isReactNative()` is false there anyway. Unreachable today is exactly the kind
|
|
71
|
-
* of guarantee that stops holding when someone adds the second caller, so it is
|
|
72
|
-
* structural here rather than incidental, and
|
|
73
|
-
* `__tests__/session/authStoreEphemeral.test.ts` holds the ordering directly.
|
|
74
44
|
*/
|
|
75
45
|
export declare function createPlatformAuthStateStore(options?: PlatformAuthStateStoreOptions): AuthStateStore;
|
|
76
46
|
//# sourceMappingURL=authStore.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"authStore.d.ts","sourceRoot":"","sources":["../../../../../src/ui/session/authStore.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"authStore.d.ts","sourceRoot":"","sources":["../../../../../src/ui/session/authStore.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,OAAO,EAIL,KAAK,cAAc,EACnB,KAAK,WAAW,EACjB,MAAM,cAAc,CAAC;AAKtB,MAAM,WAAW,6BAA6B;IAC5C;;;;;;;;;;;OAWG;IACH,WAAW,CAAC,EAAE,WAAW,CAAC;CAC3B;AAED;;;;;;GAMG;AACH,wBAAgB,4BAA4B,CAC1C,OAAO,GAAE,6BAAkC,GAC1C,cAAc,CAWhB"}
|
|
@@ -126,32 +126,6 @@ export interface OxyProviderProps {
|
|
|
126
126
|
* @default false
|
|
127
127
|
*/
|
|
128
128
|
backgroundSession?: boolean;
|
|
129
|
-
/**
|
|
130
|
-
* Whether this origin/app may persist the durable device credential
|
|
131
|
-
* (`deviceId` + `deviceSecret`) at all.
|
|
132
|
-
*
|
|
133
|
-
* `'persistent'` (the default, and every app's behaviour) stores it — web
|
|
134
|
-
* localStorage per origin, SecureStore per app on native — so the SDK can
|
|
135
|
-
* re-mint an access token on the next cold boot.
|
|
136
|
-
*
|
|
137
|
-
* `'ephemeral'` stores NOTHING durable: the session lives in memory for the
|
|
138
|
-
* lifetime of the page and is gone on reload. It exists for ONE caller,
|
|
139
|
-
* `auth.oxy.so` with the browser hub enabled (issue #937 Phase 5, ADR 0003),
|
|
140
|
-
* where the durable credential for the browser profile is the server-side
|
|
141
|
-
* DeviceSession behind the `__Host-oxy-device` handle. Two durable
|
|
142
|
-
* credentials for one origin is the dual authority that phase exists to
|
|
143
|
-
* remove — revoking the hub while a localStorage secret still mints would
|
|
144
|
-
* make a sign-out look like it worked — so the way to let the hub be
|
|
145
|
-
* authoritative is to stop persisting the other one, not to consult it
|
|
146
|
-
* second.
|
|
147
|
-
*
|
|
148
|
-
* Do NOT reach for this to make an app "more private". A relying-party
|
|
149
|
-
* origin set to `'ephemeral'` simply signs the user out on every reload,
|
|
150
|
-
* because nothing else on that origin remembers the device.
|
|
151
|
-
*
|
|
152
|
-
* @default 'persistent'
|
|
153
|
-
*/
|
|
154
|
-
deviceCredentialStorage?: 'persistent' | 'ephemeral';
|
|
155
129
|
/**
|
|
156
130
|
* Wires the app's OWN i18n library to Oxy's resolved language, so the
|
|
157
131
|
* account (or, signed out, the device/guest locale) drives the app's
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"navigation.d.ts","sourceRoot":"","sources":["../../../../../src/ui/types/navigation.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAClD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;AACzD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAEtD,OAAO,KAAK,EAAiB,WAAW,EAAE,MA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AAE,MAAM,EAAE,MAAM,KAAK,IAAI,CAAC;CACtD"}
|
|
@@ -93,8 +93,14 @@ export { LogoText } from './ui/components/logo/LogoText.js';
|
|
|
93
93
|
export { default as ProfileButton } from './ui/components/ProfileButton.js';
|
|
94
94
|
export type { ProfileButtonProps } from './ui/components/ProfileButton.js';
|
|
95
95
|
export type { AccountDialogMenuItem } from './ui/navigation/accountDialogManager.js';
|
|
96
|
-
export {
|
|
97
|
-
export type {
|
|
96
|
+
export { OxySignInPanel } from './ui/components/signIn/OxySignInPanel.js';
|
|
97
|
+
export type { OxySignInPanelProps } from './ui/components/signIn/OxySignInPanel.js';
|
|
98
|
+
export { OxySignUpPanel } from './ui/components/signIn/OxySignUpPanel.js';
|
|
99
|
+
export type { OxySignUpPanelProps } from './ui/components/signIn/OxySignUpPanel.js';
|
|
100
|
+
export { OxyAccountPicker } from './ui/components/signIn/OxyAccountPicker.js';
|
|
101
|
+
export type { OxyAccountPickerProps } from './ui/components/signIn/OxyAccountPicker.js';
|
|
102
|
+
export { OxyAuthScreen, OxyAuthScreenHeader, OxyAuthLoading, OxyAuthTerms, } from './ui/components/signIn/OxyAuthScreen.js';
|
|
103
|
+
export type { OxyAuthScreenHeaderProps } from './ui/components/signIn/OxyAuthScreen.js';
|
|
98
104
|
export { OxySignInRequestSurface } from './ui/components/OxySignInRequestSurface.js';
|
|
99
105
|
export type { OxySignInRequestSurfaceProps } from './ui/components/OxySignInRequestSurface.js';
|
|
100
106
|
export type { OxySignInSurfaceAction } from './ui/components/authChooser/types.js';
|