@asgardeo/react
Version:
React implementation of Asgardeo JavaScript SDK.
197 lines (196 loc) • 14.1 kB
TypeScript
/**
* Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com).
*
* WSO2 LLC. licenses this file to you under the Apache License,
* Version 2.0 (the "License"); you may not use this file except
* in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
export { default as AsgardeoProvider } from './contexts/Asgardeo/AsgardeoProvider';
export * from './contexts/Asgardeo/AsgardeoProvider';
export { default as AsgardeoContext } from './contexts/Asgardeo/AsgardeoContext';
export * from './contexts/Asgardeo/AsgardeoContext';
export { default as useAsgardeo } from './contexts/Asgardeo/useAsgardeo';
export * from './contexts/Asgardeo/useAsgardeo';
export { default as UserContext } from './contexts/User/UserContext';
export * from './contexts/User/UserContext';
export { default as UserProvider } from './contexts/User/UserProvider';
export * from './contexts/User/UserProvider';
export { default as useUser } from './contexts/User/useUser';
export * from './contexts/User/useUser';
export { default as OrganizationContext } from './contexts/Organization/OrganizationContext';
export * from './contexts/Organization/OrganizationContext';
export { default as OrganizationProvider } from './contexts/Organization/OrganizationProvider';
export * from './contexts/Organization/OrganizationProvider';
export { default as useOrganization } from './contexts/Organization/useOrganization';
export * from './contexts/Organization/useOrganization';
export { default as FlowContext } from './contexts/Flow/FlowContext';
export * from './contexts/Flow/FlowContext';
export { default as FlowProvider } from './contexts/Flow/FlowProvider';
export * from './contexts/Flow/FlowProvider';
export { default as useFlow } from './contexts/Flow/useFlow';
export * from './contexts/Flow/useFlow';
export { default as I18nContext } from './contexts/I18n/I18nContext';
export * from './contexts/I18n/I18nContext';
export { default as I18nProvider } from './contexts/I18n/I18nProvider';
export * from './contexts/I18n/I18nProvider';
export { default as useI18n } from './contexts/I18n/useI18n';
export * from './contexts/I18n/useI18n';
export { default as ThemeContext } from './contexts/Theme/ThemeContext';
export * from './contexts/Theme/ThemeContext';
export { default as ThemeProvider } from './contexts/Theme/ThemeProvider';
export * from './contexts/Theme/ThemeProvider';
export { default as useTheme } from './contexts/Theme/useTheme';
export * from './contexts/Theme/useTheme';
export { default as BrandingContext } from './contexts/Branding/BrandingContext';
export * from './contexts/Branding/BrandingContext';
export { default as BrandingProvider } from './contexts/Branding/BrandingProvider';
export * from './contexts/Branding/BrandingProvider';
export { default as useBrandingContext } from './contexts/Branding/useBrandingContext';
export * from './contexts/Branding/useBrandingContext';
export { default as useBrowserUrl } from './hooks/useBrowserUrl';
export * from './hooks/useBrowserUrl';
export { default as useTranslation } from './hooks/useTranslation';
export * from './hooks/useTranslation';
export { default as useForm } from './hooks/useForm';
export * from './hooks/useForm';
export { default as useBranding } from './hooks/useBranding';
export * from './hooks/useBranding';
export { default as BaseSignInButton } from './components/actions/SignInButton/BaseSignInButton';
export * from './components/actions/SignInButton/BaseSignInButton';
export { default as SignInButton } from './components/actions/SignInButton/SignInButton';
export * from './components/actions/SignInButton/SignInButton';
export { default as BaseSignOutButton } from './components/actions/SignOutButton/BaseSignOutButton';
export * from './components/actions/SignOutButton/BaseSignOutButton';
export { default as SignOutButton } from './components/actions/SignOutButton/SignOutButton';
export * from './components/actions/SignOutButton/SignOutButton';
export { default as BaseSignUpButton } from './components/actions/SignUpButton/BaseSignUpButton';
export * from './components/actions/SignUpButton/BaseSignUpButton';
export { default as SignUpButton } from './components/actions/SignUpButton/SignUpButton';
export * from './components/actions/SignUpButton/SignUpButton';
export { default as SignedIn } from './components/control/SignedIn/SignedIn';
export * from './components/control/SignedIn/SignedIn';
export { default as SignedOut } from './components/control/SignedOut/SignedOut';
export * from './components/control/SignedOut/SignedOut';
export { default as Loading } from './components/control/Loading/Loading';
export * from './components/control/Loading/Loading';
export { default as BaseSignIn } from './components/presentation/SignIn/BaseSignIn';
export * from './components/presentation/SignIn/BaseSignIn';
export { default as SignIn } from './components/presentation/SignIn/SignIn';
export * from './components/presentation/SignIn/SignIn';
export { default as BaseSignUp } from './components/presentation/SignUp/BaseSignUp';
export * from './components/presentation/SignUp/BaseSignUp';
export { default as SignUp } from './components/presentation/SignUp/SignUp';
export * from './components/presentation/SignUp/SignUp';
export { default as IdentifierFirst } from './components/presentation/SignIn/options/IdentifierFirst';
export { default as UsernamePassword } from './components/presentation/SignIn/options/UsernamePassword';
export { default as GoogleButton } from './components/presentation/options/GoogleButton';
export { default as GitHubButton } from './components/presentation/options/GitHubButton';
export { default as MicrosoftButton } from './components/presentation/options/MicrosoftButton';
export { default as FacebookButton } from './components/presentation/options/FacebookButton';
export { default as LinkedInButton } from './components/presentation/options/LinkedInButton';
export { default as SignInWithEthereumButton } from './components/presentation/options/SignInWithEthereumButton';
export { default as EmailOtp } from './components/presentation/SignIn/options/EmailOtp';
export { default as Totp } from './components/presentation/SignIn/options/Totp';
export { default as SmsOtp } from './components/presentation/SignIn/options/SmsOtp';
export { default as SocialButton } from './components/presentation/options/SocialButton';
export { default as MultiOptionButton } from './components/presentation/SignIn/options/MultiOptionButton';
export * from './components/presentation/SignIn/options/SignInOptionFactory';
export { default as BaseUser } from './components/presentation/User/BaseUser';
export * from './components/presentation/User/BaseUser';
export { default as User } from './components/presentation/User/User';
export * from './components/presentation/User/User';
export { default as BaseOrganization } from './components/presentation/Organization/BaseOrganization';
export * from './components/presentation/Organization/BaseOrganization';
export { default as Organization } from './components/presentation/Organization/Organization';
export * from './components/presentation/Organization/Organization';
export { default as BaseUserProfile } from './components/presentation/UserProfile/BaseUserProfile';
export * from './components/presentation/UserProfile/BaseUserProfile';
export { default as UserProfile } from './components/presentation/UserProfile/UserProfile';
export * from './components/presentation/UserProfile/UserProfile';
export { default as BaseUserDropdown } from './components/presentation/UserDropdown/BaseUserDropdown';
export * from './components/presentation/UserDropdown/BaseUserDropdown';
export { default as UserDropdown } from './components/presentation/UserDropdown/UserDropdown';
export * from './components/presentation/UserDropdown/UserDropdown';
export { default as BaseOrganizationSwitcher } from './components/presentation/OrganizationSwitcher/BaseOrganizationSwitcher';
export * from './components/presentation/OrganizationSwitcher/BaseOrganizationSwitcher';
export { default as OrganizationSwitcher } from './components/presentation/OrganizationSwitcher/OrganizationSwitcher';
export * from './components/presentation/OrganizationSwitcher/OrganizationSwitcher';
export { default as BaseOrganizationList } from './components/presentation/OrganizationList/BaseOrganizationList';
export * from './components/presentation/OrganizationList/BaseOrganizationList';
export { default as OrganizationList } from './components/presentation/OrganizationList/OrganizationList';
export * from './components/presentation/OrganizationList/OrganizationList';
export { default as BaseOrganizationProfile } from './components/presentation/OrganizationProfile/BaseOrganizationProfile';
export * from './components/presentation/OrganizationProfile/BaseOrganizationProfile';
export { default as OrganizationProfile } from './components/presentation/OrganizationProfile/OrganizationProfile';
export * from './components/presentation/OrganizationProfile/OrganizationProfile';
export { BaseCreateOrganization } from './components/presentation/CreateOrganization/BaseCreateOrganization';
export * from './components/presentation/CreateOrganization/BaseCreateOrganization';
export { CreateOrganization } from './components/presentation/CreateOrganization/CreateOrganization';
export * from './components/presentation/CreateOrganization/CreateOrganization';
export { default as Button } from './components/primitives/Button/Button';
export * from './components/primitives/Button/Button';
export { default as Card } from './components/primitives/Card/Card';
export * from './components/primitives/Card/Card';
export { default as Alert } from './components/primitives/Alert/Alert';
export * from './components/primitives/Alert/Alert';
export { default as OtpField } from './components/primitives/OtpField/OtpField';
export * from './components/primitives/OtpField/OtpField';
export { default as TextField } from './components/primitives/TextField/TextField';
export * from './components/primitives/TextField/TextField';
export { default as MultiInput } from './components/primitives/MultiInput/MultiInput';
export * from './components/primitives/MultiInput/MultiInput';
export { default as PasswordField } from './components/primitives/PasswordField/PasswordField';
export * from './components/primitives/PasswordField/PasswordField';
export { default as Select } from './components/primitives/Select/Select';
export * from './components/primitives/Select/Select';
export { default as DatePicker } from './components/primitives/DatePicker/DatePicker';
export * from './components/primitives/DatePicker/DatePicker';
export { default as Checkbox } from './components/primitives/Checkbox/Checkbox';
export * from './components/primitives/Checkbox/Checkbox';
export { default as FormControl } from './components/primitives/FormControl/FormControl';
export * from './components/primitives/FormControl/FormControl';
export { default as InputLabel } from './components/primitives/InputLabel/InputLabel';
export * from './components/primitives/InputLabel/InputLabel';
export { default as KeyValueInput } from './components/primitives/KeyValueInput/KeyValueInput';
export * from './components/primitives/KeyValueInput/KeyValueInput';
export { default as Typography } from './components/primitives/Typography/Typography';
export * from './components/primitives/Typography/Typography';
export { default as Divider } from './components/primitives/Divider/Divider';
export * from './components/primitives/Divider/Divider';
export { default as Logo } from './components/primitives/Logo/Logo';
export * from './components/primitives/Logo/Logo';
export { default as Spinner } from './components/primitives/Spinner/Spinner';
export * from './components/primitives/Spinner/Spinner';
export { default as Eye } from './components/primitives/Icons/Eye';
export { default as EyeOff } from './components/primitives/Icons/EyeOff';
export { default as CircleCheck } from './components/primitives/Icons/CircleCheck';
export { default as CircleAlert } from './components/primitives/Icons/CircleAlert';
export { default as TriangleAlert } from './components/primitives/Icons/TriangleAlert';
export { default as Info } from './components/primitives/Icons/Info';
export { default as UserIcon } from './components/primitives/Icons/User';
export { default as LogOut } from './components/primitives/Icons/LogOut';
export { createField, FieldFactory, validateFieldValue } from './components/factories/FieldFactory';
export * from './components/factories/FieldFactory';
export { default as BuildingAlt } from './components/primitives/Icons/BuildingAlt';
export type { FlowStep, FlowMessage, FlowContextValue } from './contexts/Flow/FlowContext';
export type { FlowProviderProps } from './contexts/Flow/FlowProvider';
export { default as getAllOrganizations, GetAllOrganizationsConfig } from './api/getAllOrganizations';
export { default as createOrganization, CreateOrganizationConfig } from './api/createOrganization';
export { default as getMeOrganizations, GetMeOrganizationsConfig } from './api/getMeOrganizations';
export { default as getOrganization, GetOrganizationConfig } from './api/getOrganization';
export { default as updateOrganization, createPatchOperations, UpdateOrganizationConfig } from './api/updateOrganization';
export { default as getSchemas, GetSchemasConfig } from './api/getSchemas';
export { default as updateMeProfile, UpdateMeProfileConfig } from './api/updateMeProfile';
export { default as getMeProfile } from './api/getScim2Me';
export * from './api/getScim2Me';
export { AsgardeoRuntimeError, http, getActiveTheme } from '@asgardeo/browser';