@asgardeo/vue 0.0.10 → 0.2.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.
Files changed (157) hide show
  1. package/README.md +136 -1
  2. package/dist/AsgardeoVueClient.d.ts +64 -0
  3. package/dist/__temp__/api.d.ts +63 -0
  4. package/dist/__temp__/models.d.ts +43 -0
  5. package/dist/api/getAllOrganizations.d.ts +24 -0
  6. package/dist/api/getMeOrganizations.d.ts +24 -0
  7. package/dist/api/getSchemas.d.ts +24 -0
  8. package/dist/api/getScim2Me.d.ts +24 -0
  9. package/dist/cjs/index.js +10849 -1578
  10. package/dist/cjs/index.js.map +7 -1
  11. package/dist/components/actions/BaseSignInButton.d.ts +34 -0
  12. package/dist/components/actions/BaseSignOutButton.d.ts +34 -0
  13. package/dist/components/actions/BaseSignUpButton.d.ts +34 -0
  14. package/dist/components/actions/SignInButton.d.ts +26 -0
  15. package/dist/components/actions/SignOutButton.d.ts +23 -0
  16. package/dist/components/actions/SignUpButton.d.ts +26 -0
  17. package/dist/{cjs/types/vitest.config.d.ts → components/adapters/FacebookButton.d.ts} +7 -2
  18. package/dist/components/adapters/GitHubButton.d.ts +24 -0
  19. package/dist/components/adapters/GoogleButton.d.ts +24 -0
  20. package/dist/components/adapters/MicrosoftButton.d.ts +24 -0
  21. package/dist/components/auth/Callback.d.ts +31 -0
  22. package/dist/components/control/Loading.d.ts +33 -0
  23. package/dist/components/control/SignedIn.d.ts +33 -0
  24. package/dist/components/control/SignedOut.d.ts +33 -0
  25. package/dist/components/control/organization/Organization.d.ts +38 -0
  26. package/dist/components/control/user/User.d.ts +38 -0
  27. package/dist/components/factories/FieldFactory.d.ts +51 -0
  28. package/dist/components/presentation/accept-invite/AcceptInvite.d.ts +28 -0
  29. package/dist/components/presentation/accept-invite/BaseAcceptInvite.d.ts +82 -0
  30. package/dist/{esm/types/composables/useAsgardeo.d.ts → components/presentation/create-organization/BaseCreateOrganization.d.ts} +5 -4
  31. package/dist/components/presentation/create-organization/CreateOrganization.css.d.ts +34 -0
  32. package/dist/components/presentation/create-organization/CreateOrganization.d.ts +25 -0
  33. package/dist/components/presentation/invite-user/BaseInviteUser.d.ts +80 -0
  34. package/dist/components/presentation/invite-user/InviteUser.d.ts +25 -0
  35. package/dist/components/presentation/language-switcher/BaseLanguageSwitcher.d.ts +25 -0
  36. package/dist/components/presentation/language-switcher/LanguageSwitcher.css.d.ts +36 -0
  37. package/dist/components/presentation/language-switcher/LanguageSwitcher.d.ts +25 -0
  38. package/dist/components/presentation/organization-list/BaseOrganizationList.d.ts +23 -0
  39. package/dist/components/presentation/organization-list/OrganizationList.css.d.ts +32 -0
  40. package/dist/{cjs/types/composables/useAsgardeo.d.ts → components/presentation/organization-list/OrganizationList.d.ts} +5 -4
  41. package/dist/{cjs/types/composables/useAsgardeoContext.d.ts → components/presentation/organization-profile/BaseOrganizationProfile.d.ts} +6 -5
  42. package/dist/components/presentation/organization-profile/OrganizationProfile.css.d.ts +24 -0
  43. package/dist/components/presentation/organization-profile/OrganizationProfile.d.ts +25 -0
  44. package/dist/components/presentation/organization-switcher/BaseOrganizationSwitcher.d.ts +25 -0
  45. package/dist/components/presentation/organization-switcher/OrganizationSwitcher.css.d.ts +39 -0
  46. package/dist/components/presentation/organization-switcher/OrganizationSwitcher.d.ts +25 -0
  47. package/dist/components/presentation/sign-in/AuthOptionFactory.d.ts +18 -0
  48. package/dist/components/presentation/sign-in/AuthOptionFactoryCore.d.ts +68 -0
  49. package/dist/components/presentation/sign-in/BaseSignIn.d.ts +27 -0
  50. package/dist/components/presentation/sign-in/SignIn.d.ts +27 -0
  51. package/dist/components/presentation/sign-in/v1/BaseSignIn.d.ts +26 -0
  52. package/dist/components/presentation/sign-in/v1/SignIn.d.ts +26 -0
  53. package/dist/components/presentation/sign-in/v1/options/SignInOptionFactory.d.ts +46 -0
  54. package/dist/components/presentation/sign-in/v2/AuthOptionFactory.d.ts +18 -0
  55. package/dist/components/presentation/sign-in/v2/BaseSignIn.d.ts +82 -0
  56. package/dist/components/presentation/sign-in/v2/SignIn.d.ts +55 -0
  57. package/dist/components/presentation/sign-up/BaseSignUp.d.ts +72 -0
  58. package/dist/components/presentation/sign-up/SignUp.d.ts +25 -0
  59. package/dist/components/presentation/user-dropdown/BaseUserDropdown.d.ts +33 -0
  60. package/dist/components/presentation/user-dropdown/UserDropdown.css.d.ts +35 -0
  61. package/dist/components/presentation/user-dropdown/UserDropdown.d.ts +25 -0
  62. package/dist/components/presentation/user-profile/BaseUserProfile.d.ts +47 -0
  63. package/dist/components/presentation/user-profile/UserProfile.css.d.ts +24 -0
  64. package/dist/{esm/types/public-api.d.ts → components/presentation/user-profile/UserProfile.d.ts} +3 -2
  65. package/dist/components/primitives/Alert/Alert.css.d.ts +30 -0
  66. package/dist/{cjs/types/public-api.d.ts → components/primitives/Alert/Alert.d.ts} +3 -2
  67. package/dist/components/primitives/Alert/index.d.ts +18 -0
  68. package/dist/components/primitives/Button/Button.css.d.ts +36 -0
  69. package/dist/components/primitives/Button/Button.d.ts +20 -0
  70. package/dist/components/primitives/Button/index.d.ts +18 -0
  71. package/dist/components/primitives/Card/Card.css.d.ts +29 -0
  72. package/dist/{esm/types/index.d.ts → components/primitives/Card/Card.d.ts} +3 -3
  73. package/dist/components/primitives/Card/index.d.ts +18 -0
  74. package/dist/components/primitives/Checkbox/Checkbox.css.d.ts +30 -0
  75. package/dist/components/primitives/Checkbox/Checkbox.d.ts +20 -0
  76. package/dist/components/primitives/Checkbox/index.d.ts +18 -0
  77. package/dist/components/primitives/DatePicker/DatePicker.css.d.ts +30 -0
  78. package/dist/components/primitives/DatePicker/DatePicker.d.ts +20 -0
  79. package/dist/components/primitives/DatePicker/index.d.ts +18 -0
  80. package/dist/components/primitives/Divider/Divider.css.d.ts +32 -0
  81. package/dist/components/primitives/Divider/Divider.d.ts +20 -0
  82. package/dist/components/primitives/Divider/index.d.ts +18 -0
  83. package/dist/components/primitives/Icons.d.ts +34 -0
  84. package/dist/components/primitives/Logo/Logo.css.d.ts +27 -0
  85. package/dist/{cjs/types/index.d.ts → components/primitives/Logo/Logo.d.ts} +3 -3
  86. package/dist/components/primitives/Logo/index.d.ts +18 -0
  87. package/dist/{cjs/types/plugins/AsgardeoPlugin.d.ts → components/primitives/OtpField/OtpField.css.d.ts} +10 -5
  88. package/dist/components/primitives/OtpField/OtpField.d.ts +20 -0
  89. package/dist/components/primitives/OtpField/index.d.ts +18 -0
  90. package/dist/components/primitives/PasswordField/PasswordField.css.d.ts +30 -0
  91. package/dist/components/primitives/PasswordField/PasswordField.d.ts +20 -0
  92. package/dist/components/primitives/PasswordField/index.d.ts +18 -0
  93. package/dist/components/primitives/Select/Select.css.d.ts +30 -0
  94. package/dist/components/primitives/Select/Select.d.ts +25 -0
  95. package/dist/components/primitives/Select/index.d.ts +18 -0
  96. package/dist/{esm/types/composables/useAsgardeoContext.d.ts → components/primitives/Spinner/Spinner.css.d.ts} +13 -5
  97. package/dist/components/primitives/Spinner/Spinner.d.ts +20 -0
  98. package/dist/components/primitives/Spinner/index.d.ts +18 -0
  99. package/dist/components/primitives/TextField/TextField.css.d.ts +30 -0
  100. package/dist/components/primitives/TextField/TextField.d.ts +20 -0
  101. package/dist/components/primitives/TextField/index.d.ts +18 -0
  102. package/dist/components/primitives/Typography/Typography.css.d.ts +30 -0
  103. package/dist/components/primitives/Typography/Typography.d.ts +20 -0
  104. package/dist/components/primitives/Typography/index.d.ts +18 -0
  105. package/dist/composables/useAsgardeo.d.ts +48 -0
  106. package/dist/composables/useBranding.d.ts +43 -0
  107. package/dist/composables/useFlow.d.ts +45 -0
  108. package/dist/composables/useFlowMeta.d.ts +41 -0
  109. package/dist/composables/useI18n.d.ts +45 -0
  110. package/dist/composables/useOAuthCallback.d.ts +65 -0
  111. package/dist/composables/useOrganization.d.ts +41 -0
  112. package/dist/composables/useTheme.d.ts +43 -0
  113. package/dist/composables/useUser.d.ts +44 -0
  114. package/dist/index.d.ts +103 -141
  115. package/dist/index.js +11073 -0
  116. package/dist/index.js.map +7 -0
  117. package/dist/keys.d.ts +51 -0
  118. package/dist/models/config.d.ts +19 -0
  119. package/dist/models/contexts.d.ts +244 -0
  120. package/dist/{esm/types/plugins → plugins}/AsgardeoPlugin.d.ts +28 -4
  121. package/dist/providers/AsgardeoProvider.d.ts +35 -0
  122. package/dist/providers/BrandingProvider.d.ts +29 -0
  123. package/dist/providers/FlowMetaProvider.d.ts +20 -0
  124. package/dist/providers/FlowProvider.d.ts +20 -0
  125. package/dist/providers/I18nProvider.d.ts +20 -0
  126. package/dist/providers/OrganizationProvider.d.ts +20 -0
  127. package/dist/providers/ThemeProvider.d.ts +20 -0
  128. package/dist/providers/UserProvider.d.ts +20 -0
  129. package/dist/router/callbackRoute.d.ts +87 -0
  130. package/dist/router/guard.d.ts +96 -0
  131. package/dist/styles/animations.css.d.ts +28 -0
  132. package/dist/styles/defaults.css.d.ts +31 -0
  133. package/dist/styles/injectStyles.d.ts +23 -0
  134. package/dist/theme/getActiveTheme.d.ts +28 -0
  135. package/dist/theme/themeDetection.d.ts +30 -0
  136. package/dist/utils/handleWebAuthnAuthentication.d.ts +27 -0
  137. package/dist/utils/hasAuthParamsInUrl.d.ts +26 -0
  138. package/dist/utils/http.d.ts +26 -0
  139. package/dist/utils/logger.d.ts +30 -0
  140. package/dist/utils/navigate.d.ts +27 -0
  141. package/dist/utils/oauth.d.ts +24 -0
  142. package/dist/utils/v2/buildThemeConfigFromFlowMeta.d.ts +28 -0
  143. package/dist/utils/v2/flowTransformer.d.ts +96 -0
  144. package/dist/utils/v2/getAuthComponentHeadings.d.ts +40 -0
  145. package/dist/utils/v2/passkey.d.ts +31 -0
  146. package/dist/utils/v2/resolveTranslationsInArray.d.ts +29 -0
  147. package/dist/utils/v2/resolveTranslationsInObject.d.ts +29 -0
  148. package/package.json +54 -68
  149. package/dist/cjs/types/auth-api.d.ts +0 -237
  150. package/dist/cjs/types/tests/mocks/mocks.d.ts +0 -57
  151. package/dist/cjs/types/types.d.ts +0 -107
  152. package/dist/esm/index.js +0 -1600
  153. package/dist/esm/index.js.map +0 -1
  154. package/dist/esm/types/auth-api.d.ts +0 -237
  155. package/dist/esm/types/tests/mocks/mocks.d.ts +0 -57
  156. package/dist/esm/types/types.d.ts +0 -107
  157. package/dist/esm/types/vitest.config.d.ts +0 -19
package/dist/index.d.ts CHANGED
@@ -1,7 +1,3 @@
1
- import { Plugin } from 'vue';
2
- import { AuthSPAClientConfig, AsgardeoAuthException, TokenExchangeRequestConfig, BasicUserInfo, IdToken, HttpClientInstance, OIDCEndpoints, HttpRequestConfig, HttpResponse, Hooks, AuthClientConfig, Config, SignInConfig } from '@asgardeo/auth-spa';
3
- export * from '@asgardeo/auth-spa';
4
-
5
1
  /**
6
2
  * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com).
7
3
  *
@@ -19,140 +15,106 @@ export * from '@asgardeo/auth-spa';
19
15
  * specific language governing permissions and limitations
20
16
  * under the License.
21
17
  */
22
-
23
- interface VueConfig {
24
- /**
25
- * Prevents the SDK from automatically signing in the user if an active session exists.
26
- */
27
- disableAutoSignIn?: boolean;
28
- /**
29
- * The SDK attempts to check for an active session on the server and update
30
- * session state automatically. This option allows disabling that behavior.
31
- */
32
- disableTrySignInSilently?: boolean;
33
- /**
34
- * The SDK's `AuthProvider` by default listens to route changes
35
- * to detect `code` & `session_state` parameters and perform a token exchange.
36
- * This option allows disabling that behavior.
37
- */
38
- skipRedirectCallback?: boolean;
39
- }
40
- type AuthVueConfig = AuthSPAClientConfig & VueConfig;
41
- /**
42
- * Interface for the Authenticated state of the user which is exposed
43
- * via `state` object from `useAuthContext` hook.
44
- */
45
- interface AuthStateInterface {
46
- /**
47
- * The scopes that are allowed for the user.
48
- */
49
- allowedScopes: string;
50
- /**
51
- * The display name of the user.
52
- */
53
- displayName?: string;
54
- /**
55
- * The email address of the user.
56
- */
57
- email?: string;
58
- /**
59
- * Are the Auth requests loading.
60
- */
61
- isLoading: boolean;
62
- /**
63
- * Specifies if the user is authenticated or not.
64
- */
65
- isSignedIn: boolean;
66
- /**
67
- * The uid corresponding to the user who the ID token belonged to.
68
- */
69
- sub?: string;
70
- /**
71
- * The username of the user.
72
- */
73
- username?: string;
74
- }
75
- interface AuthContextInterface {
76
- disableHttpHandler(): Promise<boolean>;
77
- enableHttpHandler(): Promise<boolean>;
78
- error: AsgardeoAuthException;
79
- exchangeToken(config: TokenExchangeRequestConfig, callback?: (response: BasicUserInfo | Response) => void): void;
80
- getAccessToken(): Promise<string>;
81
- getDecodedIdToken(): Promise<IdToken>;
82
- getHttpClient(): Promise<HttpClientInstance>;
83
- getIdToken(): Promise<string>;
84
- getOpenIDProviderEndpoints(): Promise<OIDCEndpoints>;
85
- getUser(): Promise<BasicUserInfo>;
86
- httpRequest(config: HttpRequestConfig): Promise<HttpResponse<any>>;
87
- httpRequestAll(configs: HttpRequestConfig[]): Promise<HttpResponse<any>[]>;
88
- isSignedIn(): Promise<boolean>;
89
- on(hook: Hooks.CustomGrant, callback: (response?: any) => void, id: string): void;
90
- on(hook: Exclude<Hooks, Hooks.CustomGrant>, callback: (response?: any) => void): void;
91
- on(hook: Hooks, callback: (response?: any) => void, id?: string): void;
92
- reInitialize(config: Partial<AuthClientConfig<Config>>): Promise<void>;
93
- refreshAccessToken(): Promise<BasicUserInfo>;
94
- revokeAccessToken(): Promise<boolean>;
95
- signIn: (config?: SignInConfig, authorizationCode?: string, sessionState?: string, state?: string, callback?: (response: BasicUserInfo) => void, tokenRequestConfig?: {
96
- params: Record<string, unknown>;
97
- }) => Promise<BasicUserInfo>;
98
- signInSilently: (additionalParams?: Record<string, string | boolean>, tokenRequestConfig?: {
99
- params: Record<string, unknown>;
100
- }) => Promise<boolean | BasicUserInfo>;
101
- signOut: (callback?: (response: boolean) => void) => Promise<boolean>;
102
- state: AuthStateInterface;
103
- }
104
- /**
105
- * The model of the object returned by the `getAuthParams` prop method of the `AuthProvider`.
106
- */
107
- interface AuthParams {
108
- authorizationCode?: string;
109
- sessionState?: string;
110
- state?: string;
111
- }
112
-
113
- /**
114
- * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com).
115
- *
116
- * WSO2 LLC. licenses this file to you under the Apache License,
117
- * Version 2.0 (the "License"); you may not use this file except
118
- * in compliance with the License.
119
- * You may obtain a copy of the License at
120
- *
121
- * http://www.apache.org/licenses/LICENSE-2.0
122
- *
123
- * Unless required by applicable law or agreed to in writing,
124
- * software distributed under the License is distributed on an
125
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
126
- * KIND, either express or implied. See the License for the
127
- * specific language governing permissions and limitations
128
- * under the License.
129
- */
130
-
131
- declare const asgardeoPlugin: Plugin;
132
-
133
- /**
134
- * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com).
135
- *
136
- * WSO2 LLC. licenses this file to you under the Apache License,
137
- * Version 2.0 (the "License"); you may not use this file except
138
- * in compliance with the License.
139
- * You may obtain a copy of the License at
140
- *
141
- * http://www.apache.org/licenses/LICENSE-2.0
142
- *
143
- * Unless required by applicable law or agreed to in writing,
144
- * software distributed under the License is distributed on an
145
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
146
- * KIND, either express or implied. See the License for the
147
- * specific language governing permissions and limitations
148
- * under the License.
149
- */
150
-
151
- /**
152
- * Hook to access the Asgardeo authentication context.
153
- *
154
- * @returns {AuthContextInterface} The authentication context containing authentication methods and state.
155
- */
156
- declare function useAsgardeo(): AuthContextInterface;
157
-
158
- export { type AuthContextInterface, type AuthParams, type AuthStateInterface, type AuthVueConfig, type VueConfig, asgardeoPlugin, useAsgardeo };
18
+ export { default as AsgardeoPlugin } from './plugins/AsgardeoPlugin';
19
+ export { default as AsgardeoProvider } from './providers/AsgardeoProvider';
20
+ export { default as BrandingProvider } from './providers/BrandingProvider';
21
+ export { default as FlowMetaProvider } from './providers/FlowMetaProvider';
22
+ export { default as FlowProvider } from './providers/FlowProvider';
23
+ export { default as I18nProvider } from './providers/I18nProvider';
24
+ export { default as OrganizationProvider } from './providers/OrganizationProvider';
25
+ export { default as ThemeProvider } from './providers/ThemeProvider';
26
+ export { default as UserProvider } from './providers/UserProvider';
27
+ export { default as useAsgardeo } from './composables/useAsgardeo';
28
+ export { default as useBranding } from './composables/useBranding';
29
+ export { default as useFlow } from './composables/useFlow';
30
+ export { default as useFlowMeta } from './composables/useFlowMeta';
31
+ export { default as useI18n } from './composables/useI18n';
32
+ export { default as useOrganization } from './composables/useOrganization';
33
+ export { default as useTheme } from './composables/useTheme';
34
+ export { default as useUser } from './composables/useUser';
35
+ export { useOAuthCallback } from './composables/useOAuthCallback';
36
+ export type { UseOAuthCallbackOptions, OAuthCallbackPayload } from './composables/useOAuthCallback';
37
+ export { default as AsgardeoVueClient } from './AsgardeoVueClient';
38
+ export { ASGARDEO_KEY, BRANDING_KEY, FLOW_KEY, FLOW_META_KEY, I18N_KEY, ORGANIZATION_KEY, THEME_KEY, USER_KEY, } from './keys';
39
+ export type { AsgardeoVueConfig } from './models/config';
40
+ export type { AsgardeoContext, BrandingContextValue, FlowContextValue, FlowMessage, FlowMetaContextValue, FlowStep, I18nContextValue, OrganizationContextValue, ThemeContextValue, UserContextValue, } from './models/contexts';
41
+ export { default as Button } from './components/primitives/Button/Button';
42
+ export { default as Card } from './components/primitives/Card/Card';
43
+ export { default as Alert } from './components/primitives/Alert/Alert';
44
+ export { default as TextField } from './components/primitives/TextField/TextField';
45
+ export { default as PasswordField } from './components/primitives/PasswordField/PasswordField';
46
+ export { default as Select } from './components/primitives/Select/Select';
47
+ export type { SelectOption } from './components/primitives/Select/Select';
48
+ export { default as Checkbox } from './components/primitives/Checkbox/Checkbox';
49
+ export { default as DatePicker } from './components/primitives/DatePicker/DatePicker';
50
+ export { default as OtpField } from './components/primitives/OtpField/OtpField';
51
+ export { default as Typography } from './components/primitives/Typography/Typography';
52
+ export { default as Divider } from './components/primitives/Divider/Divider';
53
+ export { default as Logo } from './components/primitives/Logo/Logo';
54
+ export { default as Spinner } from './components/primitives/Spinner/Spinner';
55
+ export { UserIcon, EyeIcon, EyeOffIcon, ChevronDownIcon, CheckIcon, CircleAlertIcon, CircleCheckIcon, InfoIcon, TriangleAlertIcon, XIcon, PlusIcon, LogOutIcon, ArrowLeftRightIcon, BuildingIcon, GlobeIcon, PencilIcon, } from './components/primitives/Icons';
56
+ export { default as SignInButton } from './components/actions/SignInButton';
57
+ export { default as BaseSignInButton } from './components/actions/BaseSignInButton';
58
+ export { default as SignOutButton } from './components/actions/SignOutButton';
59
+ export { default as BaseSignOutButton } from './components/actions/BaseSignOutButton';
60
+ export { default as SignUpButton } from './components/actions/SignUpButton';
61
+ export { default as BaseSignUpButton } from './components/actions/BaseSignUpButton';
62
+ export { default as Callback } from './components/auth/Callback';
63
+ export { default as SignedIn } from './components/control/SignedIn';
64
+ export { default as SignedOut } from './components/control/SignedOut';
65
+ export { default as Loading } from './components/control/Loading';
66
+ export { default as UserComponent } from './components/control/user/User';
67
+ export { default as OrganizationComponent } from './components/control/organization/Organization';
68
+ export { default as SignIn } from './components/presentation/sign-in/SignIn';
69
+ export type { SignInRenderProps } from './components/presentation/sign-in/SignIn';
70
+ export { default as BaseSignIn } from './components/presentation/sign-in/BaseSignIn';
71
+ export type { BaseSignInRenderProps, BaseSignInProps } from './components/presentation/sign-in/BaseSignIn';
72
+ export { default as SignUp } from './components/presentation/sign-up/SignUp';
73
+ export type { SignUpRenderProps } from './components/presentation/sign-up/SignUp';
74
+ export { default as BaseSignUp } from './components/presentation/sign-up/BaseSignUp';
75
+ export type { BaseSignUpRenderProps, BaseSignUpProps } from './components/presentation/sign-up/BaseSignUp';
76
+ export { default as UserProfile } from './components/presentation/user-profile/UserProfile';
77
+ export { default as BaseUserProfile } from './components/presentation/user-profile/BaseUserProfile';
78
+ export { default as UserDropdown } from './components/presentation/user-dropdown/UserDropdown';
79
+ export { default as BaseUserDropdown } from './components/presentation/user-dropdown/BaseUserDropdown';
80
+ export { default as AcceptInvite } from './components/presentation/accept-invite/AcceptInvite';
81
+ export type { AcceptInviteRenderProps } from './components/presentation/accept-invite/AcceptInvite';
82
+ export { default as BaseAcceptInvite } from './components/presentation/accept-invite/BaseAcceptInvite';
83
+ export type { BaseAcceptInviteRenderProps, BaseAcceptInviteProps, } from './components/presentation/accept-invite/BaseAcceptInvite';
84
+ export { default as InviteUser } from './components/presentation/invite-user/InviteUser';
85
+ export type { InviteUserRenderProps } from './components/presentation/invite-user/InviteUser';
86
+ export { default as BaseInviteUser } from './components/presentation/invite-user/BaseInviteUser';
87
+ export type { BaseInviteUserRenderProps, BaseInviteUserProps, } from './components/presentation/invite-user/BaseInviteUser';
88
+ export { default as OrganizationList } from './components/presentation/organization-list/OrganizationList';
89
+ export { default as BaseOrganizationList } from './components/presentation/organization-list/BaseOrganizationList';
90
+ export { default as OrganizationProfile } from './components/presentation/organization-profile/OrganizationProfile';
91
+ export { default as BaseOrganizationProfile } from './components/presentation/organization-profile/BaseOrganizationProfile';
92
+ export { default as OrganizationSwitcher } from './components/presentation/organization-switcher/OrganizationSwitcher';
93
+ export { default as BaseOrganizationSwitcher } from './components/presentation/organization-switcher/BaseOrganizationSwitcher';
94
+ export { default as CreateOrganization } from './components/presentation/create-organization/CreateOrganization';
95
+ export { default as BaseCreateOrganization } from './components/presentation/create-organization/BaseCreateOrganization';
96
+ export { default as LanguageSwitcher } from './components/presentation/language-switcher/LanguageSwitcher';
97
+ export { default as BaseLanguageSwitcher } from './components/presentation/language-switcher/BaseLanguageSwitcher';
98
+ export { default as GoogleButton } from './components/adapters/GoogleButton';
99
+ export { default as GitHubButton } from './components/adapters/GitHubButton';
100
+ export { default as MicrosoftButton } from './components/adapters/MicrosoftButton';
101
+ export { default as FacebookButton } from './components/adapters/FacebookButton';
102
+ export { default as FieldFactory, createField, validateFieldValue } from './components/factories/FieldFactory';
103
+ export type { FieldConfig } from './components/factories/FieldFactory';
104
+ export { default as buildThemeConfigFromFlowMeta } from './utils/v2/buildThemeConfigFromFlowMeta';
105
+ export { default as getAuthComponentHeadings } from './utils/v2/getAuthComponentHeadings';
106
+ export type { HeadingExtractionResult, AuthComponentHeadingsResult } from './utils/v2/getAuthComponentHeadings';
107
+ export { FieldType, type AllOrganizationsApiResponse, type Config, type EmbeddedFlowExecuteRequestPayload, type EmbeddedFlowExecuteResponse, type EmbeddedSignInFlowHandleRequestPayload, type HttpRequestConfig, type HttpResponse, type IdToken, type Organization, type SignInOptions, type SignOutOptions, type SignUpOptions, type TokenExchangeRequestConfig, type TokenResponse, type User, } from '@asgardeo/browser';
108
+ export { handleWebAuthnAuthentication } from './utils/handleWebAuthnAuthentication';
109
+ export { hasAuthParamsInUrl } from './utils/hasAuthParamsInUrl';
110
+ export { navigate } from './utils/navigate';
111
+ export { http } from './utils/http';
112
+ export { initiateOAuthRedirect } from './utils/oauth';
113
+ export { createAsgardeoGuard } from './router/guard';
114
+ export type { GuardOptions, AsgardeoNavigationGuard, NavigationGuardReturn } from './router/guard';
115
+ export { createCallbackRoute } from './router/callbackRoute';
116
+ export type { CallbackRouteOptions, AsgardeoRouteRecord } from './router/callbackRoute';
117
+ export { getActiveTheme } from './theme/getActiveTheme';
118
+ export { detectThemeMode, createClassObserver, createMediaQueryListener } from './theme/themeDetection';
119
+ export type { BrowserThemeDetection } from './theme/themeDetection';
120
+ export { AsgardeoRuntimeError, EmbeddedFlowComponentTypeV2 as EmbeddedFlowComponentType, EmbeddedFlowActionVariantV2 as EmbeddedFlowActionVariant, EmbeddedFlowTextVariantV2 as EmbeddedFlowTextVariant, EmbeddedFlowEventTypeV2 as EmbeddedFlowEventType, type EmbeddedFlowComponentV2 as EmbeddedFlowComponent, type EmbeddedFlowResponseDataV2 as EmbeddedFlowResponseData, type EmbeddedFlowExecuteRequestConfigV2 as EmbeddedFlowExecuteRequestConfig, EmbeddedSignInFlowStatusV2 as EmbeddedSignInFlowStatus, EmbeddedSignInFlowTypeV2 as EmbeddedSignInFlowType, type ExtendedEmbeddedSignInFlowResponseV2 as ExtendedEmbeddedSignInFlowResponse, type EmbeddedSignInFlowResponseV2 as EmbeddedSignInFlowResponse, type EmbeddedSignInFlowCompleteResponseV2 as EmbeddedSignInFlowCompleteResponse, type EmbeddedSignInFlowInitiateRequestV2 as EmbeddedSignInFlowInitiateRequest, type EmbeddedSignInFlowRequestV2 as EmbeddedSignInFlowRequest, type EmbeddedSignUpFlowStatusV2 as EmbeddedSignUpFlowStatus, type EmbeddedSignUpFlowTypeV2 as EmbeddedSignUpFlowType, type ExtendedEmbeddedSignUpFlowResponseV2 as ExtendedEmbeddedSignUpFlowResponse, type EmbeddedSignUpFlowResponseV2 as EmbeddedSignUpFlowResponse, type EmbeddedSignUpFlowCompleteResponseV2 as EmbeddedSignUpFlowCompleteResponse, type EmbeddedSignUpFlowInitiateRequestV2 as EmbeddedSignUpFlowInitiateRequest, type EmbeddedSignUpFlowRequestV2 as EmbeddedSignUpFlowRequest, type EmbeddedSignUpFlowErrorResponseV2 as EmbeddedSignUpFlowErrorResponse, } from '@asgardeo/browser';