authhero 0.107.0 → 0.109.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.
@@ -2,6 +2,7 @@
2
2
 
3
3
  import { OpenAPIHono, z } from '@hono/zod-openapi';
4
4
  import { Context } from 'hono';
5
+ import { FC, JSXNode, PropsWithChildren } from 'hono/jsx';
5
6
 
6
7
  export declare const totalsSchema: z.ZodObject<{
7
8
  start: z.ZodNumber;
@@ -1182,7 +1183,9 @@ declare const ClientSchema: z.ZodObject<{
1182
1183
  jwks_uri: z.ZodOptional<z.ZodDefault<z.ZodString>>;
1183
1184
  discovery_url: z.ZodOptional<z.ZodDefault<z.ZodString>>;
1184
1185
  issuer: z.ZodOptional<z.ZodDefault<z.ZodString>>;
1186
+ provider: z.ZodOptional<z.ZodString>;
1185
1187
  }, "strip", z.ZodTypeAny, {
1188
+ provider?: string | undefined;
1186
1189
  issuer?: string | undefined;
1187
1190
  client_secret?: string | undefined;
1188
1191
  client_id?: string | undefined;
@@ -1197,6 +1200,7 @@ declare const ClientSchema: z.ZodObject<{
1197
1200
  jwks_uri?: string | undefined;
1198
1201
  discovery_url?: string | undefined;
1199
1202
  }, {
1203
+ provider?: string | undefined;
1200
1204
  issuer?: string | undefined;
1201
1205
  client_secret?: string | undefined;
1202
1206
  client_id?: string | undefined;
@@ -1220,6 +1224,7 @@ declare const ClientSchema: z.ZodObject<{
1220
1224
  name: string;
1221
1225
  strategy: string;
1222
1226
  options?: {
1227
+ provider?: string | undefined;
1223
1228
  issuer?: string | undefined;
1224
1229
  client_secret?: string | undefined;
1225
1230
  client_id?: string | undefined;
@@ -1244,6 +1249,7 @@ declare const ClientSchema: z.ZodObject<{
1244
1249
  name: string;
1245
1250
  strategy: string;
1246
1251
  options?: {
1252
+ provider?: string | undefined;
1247
1253
  issuer?: string | undefined;
1248
1254
  client_secret?: string | undefined;
1249
1255
  client_id?: string | undefined;
@@ -1397,6 +1403,7 @@ declare const ClientSchema: z.ZodObject<{
1397
1403
  name: string;
1398
1404
  strategy: string;
1399
1405
  options?: {
1406
+ provider?: string | undefined;
1400
1407
  issuer?: string | undefined;
1401
1408
  client_secret?: string | undefined;
1402
1409
  client_id?: string | undefined;
@@ -1468,6 +1475,7 @@ declare const ClientSchema: z.ZodObject<{
1468
1475
  name: string;
1469
1476
  strategy: string;
1470
1477
  options?: {
1478
+ provider?: string | undefined;
1471
1479
  issuer?: string | undefined;
1472
1480
  client_secret?: string | undefined;
1473
1481
  client_id?: string | undefined;
@@ -1619,7 +1627,9 @@ export declare const connectionInsertSchema: z.ZodObject<{
1619
1627
  jwks_uri: z.ZodOptional<z.ZodDefault<z.ZodString>>;
1620
1628
  discovery_url: z.ZodOptional<z.ZodDefault<z.ZodString>>;
1621
1629
  issuer: z.ZodOptional<z.ZodDefault<z.ZodString>>;
1630
+ provider: z.ZodOptional<z.ZodString>;
1622
1631
  }, "strip", z.ZodTypeAny, {
1632
+ provider?: string | undefined;
1623
1633
  issuer?: string | undefined;
1624
1634
  client_secret?: string | undefined;
1625
1635
  client_id?: string | undefined;
@@ -1634,6 +1644,7 @@ export declare const connectionInsertSchema: z.ZodObject<{
1634
1644
  jwks_uri?: string | undefined;
1635
1645
  discovery_url?: string | undefined;
1636
1646
  }, {
1647
+ provider?: string | undefined;
1637
1648
  issuer?: string | undefined;
1638
1649
  client_secret?: string | undefined;
1639
1650
  client_id?: string | undefined;
@@ -1655,6 +1666,7 @@ export declare const connectionInsertSchema: z.ZodObject<{
1655
1666
  name: string;
1656
1667
  strategy: string;
1657
1668
  options?: {
1669
+ provider?: string | undefined;
1658
1670
  issuer?: string | undefined;
1659
1671
  client_secret?: string | undefined;
1660
1672
  client_id?: string | undefined;
@@ -1677,6 +1689,7 @@ export declare const connectionInsertSchema: z.ZodObject<{
1677
1689
  name: string;
1678
1690
  strategy: string;
1679
1691
  options?: {
1692
+ provider?: string | undefined;
1680
1693
  issuer?: string | undefined;
1681
1694
  client_secret?: string | undefined;
1682
1695
  client_id?: string | undefined;
@@ -1719,7 +1732,9 @@ export declare const connectionSchema: z.ZodObject<z.objectUtil.extendShape<{
1719
1732
  jwks_uri: z.ZodOptional<z.ZodDefault<z.ZodString>>;
1720
1733
  discovery_url: z.ZodOptional<z.ZodDefault<z.ZodString>>;
1721
1734
  issuer: z.ZodOptional<z.ZodDefault<z.ZodString>>;
1735
+ provider: z.ZodOptional<z.ZodString>;
1722
1736
  }, "strip", z.ZodTypeAny, {
1737
+ provider?: string | undefined;
1723
1738
  issuer?: string | undefined;
1724
1739
  client_secret?: string | undefined;
1725
1740
  client_id?: string | undefined;
@@ -1734,6 +1749,7 @@ export declare const connectionSchema: z.ZodObject<z.objectUtil.extendShape<{
1734
1749
  jwks_uri?: string | undefined;
1735
1750
  discovery_url?: string | undefined;
1736
1751
  }, {
1752
+ provider?: string | undefined;
1737
1753
  issuer?: string | undefined;
1738
1754
  client_secret?: string | undefined;
1739
1755
  client_id?: string | undefined;
@@ -1757,6 +1773,7 @@ export declare const connectionSchema: z.ZodObject<z.objectUtil.extendShape<{
1757
1773
  name: string;
1758
1774
  strategy: string;
1759
1775
  options?: {
1776
+ provider?: string | undefined;
1760
1777
  issuer?: string | undefined;
1761
1778
  client_secret?: string | undefined;
1762
1779
  client_id?: string | undefined;
@@ -1781,6 +1798,7 @@ export declare const connectionSchema: z.ZodObject<z.objectUtil.extendShape<{
1781
1798
  name: string;
1782
1799
  strategy: string;
1783
1800
  options?: {
1801
+ provider?: string | undefined;
1784
1802
  issuer?: string | undefined;
1785
1803
  client_secret?: string | undefined;
1786
1804
  client_id?: string | undefined;
@@ -4661,6 +4679,28 @@ export declare const refreshTokenSchema: z.ZodObject<{
4661
4679
  last_exchanged_at?: string | undefined;
4662
4680
  }>;
4663
4681
  export type RefreshToken = z.infer<typeof refreshTokenSchema>;
4682
+ export declare const smsSendParamsSchema: z.ZodObject<{
4683
+ to: z.ZodString;
4684
+ message: z.ZodString;
4685
+ }, "strip", z.ZodTypeAny, {
4686
+ message: string;
4687
+ to: string;
4688
+ }, {
4689
+ message: string;
4690
+ to: string;
4691
+ }>;
4692
+ export type SmsSendParams = z.infer<typeof smsSendParamsSchema>;
4693
+ export declare const smsProviderSchema: z.ZodObject<{
4694
+ name: z.ZodString;
4695
+ options: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
4696
+ }, "strip", z.ZodTypeAny, {
4697
+ options: {};
4698
+ name: string;
4699
+ }, {
4700
+ options: {};
4701
+ name: string;
4702
+ }>;
4703
+ export type SmsProvider = z.infer<typeof smsProviderSchema>;
4664
4704
  export declare function parseUserId(user_id: string): {
4665
4705
  connection: string;
4666
4706
  id: string;
@@ -4939,6 +4979,15 @@ export type Strategy = {
4939
4979
  Variables: Variables;
4940
4980
  }>, connection: Connection, code: string, codeVerifier?: string) => Promise<UserInfo>;
4941
4981
  };
4982
+ export type SendSMSParams = {
4983
+ to: string;
4984
+ text: string;
4985
+ template: string;
4986
+ options: any;
4987
+ data: Record<string, string>;
4988
+ };
4989
+ export type SendSMSResponse = {};
4990
+ export type smsService = (param: SendSMSParams) => Promise<SendSMSResponse>;
4942
4991
  export declare type Fetcher = {
4943
4992
  fetch: typeof fetch;
4944
4993
  };
@@ -4946,6 +4995,7 @@ export type Bindings = {
4946
4995
  ENVIRONMENT: string;
4947
4996
  AUTH_URL: string;
4948
4997
  JWKS_URL: string;
4998
+ CSS_URL?: string;
4949
4999
  JWKS_SERVICE: Fetcher;
4950
5000
  ISSUER: string;
4951
5001
  UNIVERSAL_LOGIN_URL?: string;
@@ -4959,6 +5009,9 @@ export type Bindings = {
4959
5009
  emailProviders?: {
4960
5010
  [key: string]: EmailService;
4961
5011
  };
5012
+ smsProviders?: {
5013
+ [key: string]: smsService;
5014
+ };
4962
5015
  DEFAULT_TENANT_ID?: string;
4963
5016
  DEFAULT_CLIENT_ID?: string;
4964
5017
  STRATEGIES?: {
@@ -4977,6 +5030,173 @@ export interface CreateX509CertificateParams {
4977
5030
  name: string;
4978
5031
  }
4979
5032
  declare function createX509Certificate(params: CreateX509CertificateParams): Promise<SigningKey>;
5033
+ export type AppLogoProps = {
5034
+ vendorSettings: VendorSettings;
5035
+ };
5036
+ export declare const AppLogo: FC<AppLogoProps>;
5037
+ export type Props = {
5038
+ className?: string;
5039
+ Component?: string;
5040
+ variant?: "primary" | "secondary" | "custom";
5041
+ href?: string;
5042
+ disabled?: boolean;
5043
+ isLoading?: boolean;
5044
+ id?: string;
5045
+ };
5046
+ export declare const Button: ({ children, className, Component, variant, href, disabled, isLoading, id, }: PropsWithChildren<Props>) => import("hono/jsx/jsx-dev-runtime").JSX.Element;
5047
+ type Props$1 = {
5048
+ vendorSettings: VendorSettings;
5049
+ state: string;
5050
+ user: User;
5051
+ };
5052
+ export declare const CheckEmailPage: FC<Props$1>;
5053
+ type Props$2 = {
5054
+ vendorSettings: VendorSettings;
5055
+ state: string;
5056
+ };
5057
+ export declare const EmailValidatedPage: FC<Props$2>;
5058
+ type Props$3 = {
5059
+ error?: string;
5060
+ vendorSettings: VendorSettings;
5061
+ email: string;
5062
+ state: string;
5063
+ client: Client;
5064
+ hasPasswordLogin: boolean;
5065
+ };
5066
+ export declare const EnterCodePage: FC<Props$3>;
5067
+ type Props$4 = {
5068
+ error?: string;
5069
+ vendorSettings: VendorSettings;
5070
+ loginSession: LoginSession;
5071
+ email?: string;
5072
+ client: Client;
5073
+ impersonation?: boolean;
5074
+ };
5075
+ export declare const EnterEmailPage: FC<Props$4>;
5076
+ type Props$5 = {
5077
+ error?: string;
5078
+ vendorSettings: VendorSettings;
5079
+ email: string;
5080
+ state: string;
5081
+ client: Client;
5082
+ };
5083
+ export declare const EnterPasswordPage: FC<Props$5>;
5084
+ type Props$6 = {
5085
+ children: string;
5086
+ };
5087
+ export declare const ErrorMessage: ({ children }: Props$6) => import("hono/jsx/jsx-dev-runtime").JSX.Element;
5088
+ type Props$7 = {
5089
+ vendorSettings: VendorSettings;
5090
+ };
5091
+ export declare const Footer: ({ vendorSettings }: Props$7) => import("hono/jsx/jsx-dev-runtime").JSX.Element;
5092
+ type Props$8 = {
5093
+ error?: string;
5094
+ vendorSettings: VendorSettings;
5095
+ email?: string;
5096
+ state: string;
5097
+ };
5098
+ export declare const ForgotPasswordPage: FC<Props$8>;
5099
+ type Props$9 = {
5100
+ vendorSettings: VendorSettings;
5101
+ state: string;
5102
+ };
5103
+ export declare const ForgotPasswordSentPage: FC<Props$9>;
5104
+ type Props$10 = {
5105
+ className?: string;
5106
+ };
5107
+ export declare const Form: ({ children, className }: PropsWithChildren<Props$10>) => import("hono/jsx/jsx-dev-runtime").JSX.Element;
5108
+ type Props$11 = {
5109
+ state: string;
5110
+ };
5111
+ export declare const GoBack: (props: Props$11) => import("hono/jsx/jsx-dev-runtime").JSX.Element;
5112
+ declare const Google: ({ ...props }: {
5113
+ [x: string]: any;
5114
+ }) => import("hono/jsx/jsx-dev-runtime").JSX.Element;
5115
+ export type IconSizes = "small" | "medium" | "large";
5116
+ type Props$12 = {
5117
+ name: string;
5118
+ size?: IconSizes;
5119
+ className?: string;
5120
+ };
5121
+ export declare const Icon: ({ name, size, className }: Props$12) => import("hono/jsx/jsx-dev-runtime").JSX.Element;
5122
+ type Props$13 = {
5123
+ redirectUrl?: string;
5124
+ vendorSettings: VendorSettings;
5125
+ };
5126
+ declare const InvalidSessionPage: FC<Props$13>;
5127
+ export type LayoutProps = {
5128
+ title: string;
5129
+ vendorSettings: VendorSettings;
5130
+ };
5131
+ export declare const Layout: ({ title, children, vendorSettings, }: PropsWithChildren<LayoutProps>) => import("hono/jsx/jsx-dev-runtime").JSX.Element;
5132
+ type Props$14 = {
5133
+ message: string;
5134
+ vendorSettings: VendorSettings;
5135
+ pageTitle?: string;
5136
+ state?: string;
5137
+ };
5138
+ declare const MessagePage: FC<Props$14>;
5139
+ type Props$15 = {
5140
+ vendorSettings: VendorSettings;
5141
+ email: string;
5142
+ state: string;
5143
+ };
5144
+ declare const PreSignupComfirmationPage: FC<Props$15>;
5145
+ type Props$16 = {
5146
+ state: string;
5147
+ vendorSettings: VendorSettings;
5148
+ email?: string;
5149
+ };
5150
+ declare const PreSignupPage: FC<Props$16>;
5151
+ export type ResetPasswordPageProps = {
5152
+ error?: string;
5153
+ vendorSettings: VendorSettings;
5154
+ email: string;
5155
+ };
5156
+ export declare const ResetPasswordPage: FC<ResetPasswordPageProps>;
5157
+ type Props$17 = {
5158
+ state: string;
5159
+ error?: string;
5160
+ vendorSettings: VendorSettings;
5161
+ email?: string;
5162
+ code?: string;
5163
+ };
5164
+ declare const SignupPage: FC<Props$17>;
5165
+ type Props$18 = {
5166
+ connection: "google-oauth2" | "apple" | "facebook" | "vipps";
5167
+ icon: any;
5168
+ text: string;
5169
+ canResize?: boolean;
5170
+ loginSession: LoginSession;
5171
+ };
5172
+ export declare const SocialButton: ({ connection, text, icon, canResize, loginSession, }: Props$18) => import("hono/jsx/jsx-dev-runtime").JSX.Element;
5173
+ export type SpinnerSizes = "small" | "medium" | "large";
5174
+ type Props$19 = {
5175
+ size?: SpinnerSizes;
5176
+ };
5177
+ export declare const Spinner: ({ size }: Props$19) => import("hono/jsx/jsx-dev-runtime").JSX.Element;
5178
+ export interface TransProps {
5179
+ i18nKey: string;
5180
+ values: Record<string, string>;
5181
+ components: JSXNode[];
5182
+ }
5183
+ export declare const Trans: FC<TransProps>;
5184
+ type Props$20 = {
5185
+ vendorSettings: VendorSettings;
5186
+ state: string;
5187
+ };
5188
+ export declare const UnverifiedEmailPage: FC<Props$20>;
5189
+ type Props$21 = {
5190
+ error?: string;
5191
+ vendorSettings: VendorSettings;
5192
+ authParams: AuthParams;
5193
+ };
5194
+ declare const UserNotFound: FC<Props$21>;
5195
+ export declare const VippsLogo: ({ ...props }: {
5196
+ [x: string]: any;
5197
+ }) => import("hono/jsx/jsx-dev-runtime").JSX.Element;
5198
+ export declare const tailwindCss = "\n@font-face{font-display:swap;font-family:KHTeka;font-style:normal;font-weight:400;src:url(https://assets.sesamy.com/fonts/khteka/WOFF2/KHTeka-Regular.woff2) format(\"woff2\")}@font-face{font-display:swap;font-family:KHTeka;font-style:normal;font-weight:500;src:url(https://assets.sesamy.com/fonts/khteka/WOFF2/KHTeka-Medium.woff2) format(\"woff2\")}@font-face{font-display:swap;font-family:KHTeka;font-style:normal;font-weight:600;src:url(https://assets.sesamy.com/fonts/khteka/WOFF2/KHTeka-Bold.woff2) format(\"woff2\")}@font-face{font-family:uicon;src:url(https://login2.sesamy.com/_next/static/media/uicon.0b00e08a.woff2)}[class*=\" uicon-\"],[class^=uicon-]{font-family:uicon!important;font-size:inherit;font-style:normal;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased}.uicon-apple:before{content:\"\\ea01\"}.uicon-arrow-down:before{content:\"\\ea02\"}.uicon-arrow-left:before{content:\"\\ea03\"}.uicon-arrow-right:before{content:\"\\ea04\"}.uicon-arrow-up:before{content:\"\\ea05\"}.uicon-facebook:before{content:\"\\ea06\"}.uicon-google:before{content:\"\\ea07\"}.uicon-info-bubble:before{content:\"\\ea08\"}.uicon-info:before{content:\"\\ea09\"}.uicon-sesamy:before{content:\"\\ea0a\"}.uicon-spinner-circle:before{content:\"\\ea0b\"}.uicon-spinner-inner:before{content:\"\\ea0c\"}\n\n/*! tailwindcss v3.4.1 | MIT License | https://tailwindcss.com*/*,:after,:before{border:0 solid #bfbcd7;box-sizing:border-box}:after,:before{--tw-content:\"\"}:host,html{line-height:1.5;-webkit-text-size-adjust:100%;font-family:KHTeka,Helvetica Neue,HelveticaNeue,TeX Gyre Heros,TeXGyreHeros,FreeSans,Nimbus Sans L,Liberation Sans,Arimo,Helvetica,sans-serif;font-feature-settings:normal;font-variation-settings:normal;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-tap-highlight-color:transparent}body{line-height:inherit;margin:0}hr{border-top-width:1px;color:inherit;height:0}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-size:1em;font-variation-settings:normal}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{border-collapse:collapse;border-color:inherit;text-indent:0}button,input,optgroup,select,textarea{color:inherit;font-family:inherit;font-feature-settings:inherit;font-size:100%;font-variation-settings:inherit;font-weight:inherit;line-height:inherit;margin:0;padding:0}button,select{text-transform:none}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dd,dl,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}fieldset{margin:0}fieldset,legend{padding:0}menu,ol,ul{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{color:#4b4a58;opacity:1}input::placeholder,textarea::placeholder{color:#4b4a58;opacity:1}[role=button],button{cursor:pointer}:disabled{cursor:default}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{height:auto;max-width:100%}[hidden]{display:none}body,html{height:100%}body{--tw-bg-opacity:1;background-color:rgb(248 249 251/var(--tw-bg-opacity));font-size:1rem;letter-spacing:.0125rem;line-height:120%;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}@media (min-width:1280px){body{font-size:1.125rem;line-height:120%}}:is(.dark body){--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity))}button,input,optgroup,select,textarea{font-size:.875rem;letter-spacing:.0125rem;line-height:120%}@media (min-width:1280px){button,input,optgroup,select,textarea{font-size:1rem;line-height:120%}}h1{font-size:1.5rem;font-weight:500;line-height:120%}@media (min-width:1280px){h1{font-size:2rem;line-height:120%}}@media (min-width:640px){h1{font-size:3rem;letter-spacing:-.0625rem;line-height:100%}}@media (min-width:1280px){h1{font-size:3.5rem;letter-spacing:-.0625rem;line-height:100%}}h2{font-size:1.25rem;font-weight:500;line-height:120%}@media (min-width:1280px){h2{font-size:1.5rem;line-height:120%}}@media (min-width:640px){h2{font-size:2rem;letter-spacing:0;line-height:120%}}@media (min-width:1280px){h2{font-size:3rem;letter-spacing:-.0625rem;line-height:100%}}h3{font-size:1.125rem;font-weight:500;line-height:120%}@media (min-width:1280px){h3{font-size:1.25rem;line-height:120%}}@media (min-width:640px){h3{font-size:1.5rem;line-height:120%}}@media (min-width:1280px){h3{font-size:2rem;line-height:120%}}h4{font-size:1rem;font-weight:500;line-height:120%}@media (min-width:1280px){h4{font-size:1.125rem;line-height:120%}}@media (min-width:640px){h4{font-size:1.125rem;line-height:120%}}@media (min-width:1280px){h4{font-size:1.5rem;line-height:120%}}h5{font-size:.875rem;font-weight:500;line-height:120%}@media (min-width:1280px){h5{font-size:1rem;line-height:120%}}@media (min-width:640px){h5{font-size:1rem;line-height:120%}}@media (min-width:1280px){h5{font-size:1.125rem;line-height:120%}}h6{font-size:.75rem;font-weight:500;line-height:135%}@media (min-width:1280px){h6{font-size:.875rem;line-height:120%}}@media (min-width:640px){h6{font-size:.875rem;line-height:120%}}@media (min-width:1280px){h6{font-size:1rem;line-height:120%}}*,:after,:before{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }::backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }.pointer-events-none{pointer-events:none}.absolute{position:absolute}.relative{position:relative}.inset-0{inset:0}.left-0{left:0}.right-0{right:0}.top-0{top:0}.top-1\\/2{top:50%}.my-4{margin-bottom:1rem;margin-top:1rem}.mb-12{margin-bottom:3rem}.mb-16{margin-bottom:4rem}.mb-2{margin-bottom:.5rem}.mb-4{margin-bottom:1rem}.mb-5{margin-bottom:1.25rem}.mb-6{margin-bottom:1.5rem}.mb-7{margin-bottom:1.75rem}.mb-8{margin-bottom:2rem}.mt-8{margin-top:2rem}.block{display:block}.inline-block{display:inline-block}.flex{display:flex}.hidden{display:none}.h-5{height:1.25rem}.h-9{height:2.25rem}.h-full{height:100%}.max-h-full{max-height:100%}.min-h-\\[calc\\(100vh-83px\\)\\]{min-height:calc(100vh - 83px)}.min-h-full{min-height:100%}.w-5{width:1.25rem}.w-\\[calc\\(100\\%-theme\\(space\\.2\\)-theme\\(space\\.2\\)\\)\\]{width:calc(100% - 1rem)}.w-full{width:100%}.max-w-\\[1295px\\]{max-width:1295px}.flex-1{flex:1 1 0%}@keyframes spin{to{transform:rotate(1turn)}}.animate-spin{animation:spin 1s linear infinite}.cursor-not-allowed{cursor:not-allowed}.flex-col{flex-direction:column}.\\!flex-nowrap{flex-wrap:nowrap!important}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.space-x-2>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0;margin-left:calc(.5rem*(1 - var(--tw-space-x-reverse)));margin-right:calc(.5rem*var(--tw-space-x-reverse))}.space-x-4>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0;margin-left:calc(1rem*(1 - var(--tw-space-x-reverse)));margin-right:calc(1rem*var(--tw-space-x-reverse))}.space-y-6>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-bottom:calc(1.5rem*var(--tw-space-y-reverse));margin-top:calc(1.5rem*(1 - var(--tw-space-y-reverse)))}.overflow-hidden{overflow:hidden}.rounded-2xl{border-radius:1.25rem}.rounded-lg{border-radius:.625rem}.border{border-width:1px}.border-b{border-bottom-width:1px}.border-gray-100{--tw-border-opacity:1;border-color:rgb(248 249 251/var(--tw-border-opacity))}.border-gray-200{--tw-border-opacity:1;border-color:rgb(191 188 215/var(--tw-border-opacity))}.border-gray-300{--tw-border-opacity:1;border-color:rgb(136 134 159/var(--tw-border-opacity))}.border-gray-500{--tw-border-opacity:1;border-color:rgb(59 57 70/var(--tw-border-opacity))}.border-red{--tw-border-opacity:1;border-color:rgb(252 90 90/var(--tw-border-opacity))}.bg-gray-100{--tw-bg-opacity:1;background-color:rgb(248 249 251/var(--tw-bg-opacity))}.bg-primary{background-color:var(--primary-color)}.bg-primaryHover{background-color:var(--primary-hover)}.bg-white{--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity))}.bg-cover{background-size:cover}.bg-center{background-position:50%}.px-0{padding-left:0;padding-right:0}.px-10{padding-left:2.5rem;padding-right:2.5rem}.px-2{padding-left:.5rem;padding-right:.5rem}.px-4{padding-left:1rem;padding-right:1rem}.px-5{padding-left:1.25rem;padding-right:1.25rem}.px-6{padding-left:1.5rem;padding-right:1.5rem}.py-10{padding-bottom:2.5rem;padding-top:2.5rem}.py-2{padding-bottom:.5rem;padding-top:.5rem}.py-3{padding-bottom:.75rem;padding-top:.75rem}.py-5{padding-bottom:1.25rem;padding-top:1.25rem}.pb-2{padding-bottom:.5rem}.pb-8{padding-bottom:2rem}.pt-2{padding-top:.5rem}.pt-2\\.5{padding-top:.625rem}.pt-4{padding-top:1rem}.text-left{text-align:left}.text-center{text-align:center}.indent-\\[5px\\]{text-indent:5px}.font-mono{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace}.\\!text-base{font-size:1rem!important;line-height:120%!important}.text-2xl{font-size:1.5rem;line-height:120%}.text-3xl{font-size:2rem;line-height:120%}.text-base{font-size:1rem;line-height:120%}.text-lg{font-size:1.125rem;line-height:120%}.text-sm{font-size:.875rem;line-height:120%}.text-xl{font-size:1.25rem;line-height:120%}.text-xs{font-size:.75rem;line-height:135%}.font-medium{font-weight:500}.font-semibold{font-weight:600}.leading-\\[0\\]{line-height:0}.text-\\[\\#1196F5\\]{--tw-text-opacity:1;color:rgb(17 150 245/var(--tw-text-opacity))}.text-\\[\\#B2B2B2\\]{--tw-text-opacity:1;color:rgb(178 178 178/var(--tw-text-opacity))}.text-black{--tw-text-opacity:1;color:rgb(0 0 0/var(--tw-text-opacity))}.text-gray-200{--tw-text-opacity:1;color:rgb(191 188 215/var(--tw-text-opacity))}.text-gray-300{--tw-text-opacity:1;color:rgb(136 134 159/var(--tw-text-opacity))}.text-gray-700{--tw-text-opacity:1;color:rgb(30 30 39/var(--tw-text-opacity))}.text-gray-900{--tw-text-opacity:1;color:rgb(8 8 14/var(--tw-text-opacity))}.text-primary{color:var(--primary-color)}.text-red{--tw-text-opacity:1;color:rgb(252 90 90/var(--tw-text-opacity))}.text-textOnPrimary{color:var(--text-on-primary)}.text-white{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity))}.opacity-40{opacity:.4}.row-up-left{align-content:flex-start;justify-content:flex-start}.row,.row-up-left{display:flex;flex-direction:row;flex-wrap:wrap}.row{align-content:center;align-items:center;justify-content:center}.column-left{align-items:flex-start;display:flex;flex-direction:column;justify-content:center}@media (min-width:1280px){.text-5xl{font-size:5.125rem;letter-spacing:-.125rem;line-height:100%}.text-4xl{font-size:3.5rem}.text-3xl,.text-4xl{letter-spacing:-.0625rem;line-height:100%}.text-3xl{font-size:3rem}.text-2xl{font-size:2rem}.text-2xl,.text-xl{line-height:120%}.text-xl{font-size:1.5rem}.text-lg{font-size:1.25rem}.text-base,.text-lg{line-height:120%}.text-base{font-size:1.125rem}.text-sm{font-size:1rem}.text-sm,.text-xs{line-height:120%}.text-xs{font-size:.875rem}}:root{--primary-color:#7d68f4;--primary-hover:#7e69f4;--text-on-primary:#fff}svg{transform:translate3d(var(--tw-translate-x),var(--tw-translate-y),0) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}*,:after,:before{text-underline-offset:4px}input[type=number],input[type=number]::-webkit-inner-spin-button,input[type=number]::-webkit-outer-spin-button{-webkit-appearance:none;-moz-appearance:textfield!important}.btn.is-loading{cursor:not-allowed;opacity:.4;pointer-events:none}.btn .btn-spinner,.btn.is-loading .btn-label{opacity:0;visibility:hidden}.btn.is-loading .btn-spinner{opacity:1;visibility:visible}[class*=\" uicon-\"],[class^=uicon-]{letter-spacing:0;line-height:100%}.placeholder\\:text-gray-300::-moz-placeholder{--tw-text-opacity:1;color:rgb(136 134 159/var(--tw-text-opacity))}.placeholder\\:text-gray-300::placeholder{--tw-text-opacity:1;color:rgb(136 134 159/var(--tw-text-opacity))}.hover\\:bg-gray-100:hover{--tw-bg-opacity:1;background-color:rgb(248 249 251/var(--tw-bg-opacity))}.hover\\:bg-primaryHover:hover{background-color:var(--primary-hover)}.hover\\:text-primaryHover:hover{color:var(--primary-hover)}.hover\\:underline:hover{text-decoration-line:underline}.focus\\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.focus\\:ring:focus{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(3px + var(--tw-ring-offset-width)) var(--tw-ring-color)}.focus\\:ring-2:focus,.focus\\:ring:focus{box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.focus\\:ring-2:focus{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color)}.focus\\:ring-primary:focus{--tw-ring-color:var(--primary-color)}.focus\\:ring-offset-2:focus{--tw-ring-offset-width:2px}:is(.dark .dark\\:border-gray-400){--tw-border-opacity:1;border-color:rgb(75 74 88/var(--tw-border-opacity))}:is(.dark .dark\\:border-gray-500){--tw-border-opacity:1;border-color:rgb(59 57 70/var(--tw-border-opacity))}:is(.dark .dark\\:border-gray-600){--tw-border-opacity:1;border-color:rgb(40 40 52/var(--tw-border-opacity))}:is(.dark .dark\\:bg-black){--tw-bg-opacity:1;background-color:rgb(0 0 0/var(--tw-bg-opacity))}:is(.dark .dark\\:bg-gray-600){--tw-bg-opacity:1;background-color:rgb(40 40 52/var(--tw-bg-opacity))}:is(.dark .dark\\:bg-gray-800){--tw-bg-opacity:1;background-color:rgb(20 20 26/var(--tw-bg-opacity))}:is(.dark .dark\\:text-\\[\\#201a41\\]){--tw-text-opacity:1;color:rgb(32 26 65/var(--tw-text-opacity))}:is(.dark .dark\\:text-gray-300){--tw-text-opacity:1;color:rgb(136 134 159/var(--tw-text-opacity))}:is(.dark .dark\\:text-white){--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity))}:is(.dark .dark\\:hover\\:bg-black\\/90:hover){background-color:rgba(0,0,0,.9)}:is(.dark .dark\\:focus\\:ring-offset-gray-900:focus){--tw-ring-offset-color:#08080e}@media (min-width:640px){.sm\\:absolute{position:absolute}.sm\\:left-4{left:1rem}.sm\\:top-1\\/2{top:50%}.sm\\:mt-4{margin-top:1rem}.sm\\:inline{display:inline}.sm\\:h-6{height:1.5rem}.sm\\:min-h-\\[700px\\]{min-height:700px}.sm\\:w-6{width:1.5rem}.sm\\:w-\\[calc\\(100\\%-theme\\(space\\.16\\)-theme\\(space\\.16\\)\\)\\]{width:calc(100% - 8rem)}.sm\\:w-auto{width:auto}.sm\\:max-w-md{max-width:28rem}.sm\\:-translate-y-1\\/2{--tw-translate-y:-50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.sm\\:flex-col{flex-direction:column}.sm\\:justify-normal{justify-content:normal}.sm\\:space-x-0>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0;margin-left:calc(0px*(1 - var(--tw-space-x-reverse)));margin-right:calc(0px*var(--tw-space-x-reverse))}.sm\\:space-y-4>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-bottom:calc(1rem*var(--tw-space-y-reverse));margin-top:calc(1rem*(1 - var(--tw-space-y-reverse)))}.sm\\:bg-fixed{background-attachment:fixed}.sm\\:bg-left-top{background-position:0 0}.sm\\:px-10{padding-left:2.5rem;padding-right:2.5rem}.sm\\:px-14{padding-left:3.5rem;padding-right:3.5rem}.sm\\:py-14{padding-bottom:3.5rem;padding-top:3.5rem}.sm\\:py-4{padding-bottom:1rem;padding-top:1rem}.sm\\:pt-16{padding-top:4rem}.sm\\:text-2xl{font-size:1.5rem;line-height:120%}.sm\\:text-base{font-size:1rem;line-height:120%}}@media (min-width:1280px){.md\\:min-w-\\[448px\\]{min-width:448px}.md\\:text-3xl{font-size:2rem;line-height:120%}.md\\:text-base{font-size:1rem;line-height:120%}.md\\:text-sm{font-size:.875rem;line-height:120%}.md\\:text-xs{font-size:.75rem;line-height:135%}}@media (max-height:900px) and (min-width:640px){.short\\:static{position:static}.short\\:left-auto{left:auto}.short\\:top-auto{top:auto}.short\\:hidden{display:none}.short\\:h-5{height:1.25rem}.short\\:min-h-\\[558px\\]{min-height:558px}.short\\:w-5{width:1.25rem}.short\\:translate-y-0{--tw-translate-y:0px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.short\\:flex-row{flex-direction:row}.short\\:space-x-4>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0;margin-left:calc(1rem*(1 - var(--tw-space-x-reverse)));margin-right:calc(1rem*var(--tw-space-x-reverse))}.short\\:space-y-0>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-bottom:calc(0px*var(--tw-space-y-reverse));margin-top:calc(0px*(1 - var(--tw-space-y-reverse)))}.short\\:px-0{padding-left:0;padding-right:0}.short\\:py-3{padding-bottom:.75rem;padding-top:.75rem}.short\\:text-xl{font-size:1.25rem;line-height:120%}}";
5199
+ export declare function injectTailwindCSS(): void;
4980
5200
  export declare function init(config: AuthHeroConfig): {
4981
5201
  app: OpenAPIHono<{
4982
5202
  Bindings: Bindings;
@@ -5171,6 +5391,7 @@ export declare function init(config: AuthHeroConfig): {
5171
5391
  name: string;
5172
5392
  strategy: string;
5173
5393
  options?: {
5394
+ provider?: string | undefined;
5174
5395
  issuer?: string | undefined;
5175
5396
  client_secret?: string | undefined;
5176
5397
  client_id?: string | undefined;
@@ -5199,6 +5420,7 @@ export declare function init(config: AuthHeroConfig): {
5199
5420
  name: string;
5200
5421
  strategy: string;
5201
5422
  options?: {
5423
+ provider?: string | undefined;
5202
5424
  issuer?: string | undefined;
5203
5425
  client_secret?: string | undefined;
5204
5426
  client_id?: string | undefined;
@@ -5241,6 +5463,7 @@ export declare function init(config: AuthHeroConfig): {
5241
5463
  name: string;
5242
5464
  strategy: string;
5243
5465
  options?: {
5466
+ provider?: string | undefined;
5244
5467
  issuer?: string | undefined;
5245
5468
  client_secret?: string | undefined;
5246
5469
  client_id?: string | undefined;
@@ -5296,6 +5519,7 @@ export declare function init(config: AuthHeroConfig): {
5296
5519
  json: {
5297
5520
  name?: string | undefined;
5298
5521
  options?: {
5522
+ provider?: string | undefined;
5299
5523
  issuer?: string | undefined;
5300
5524
  client_secret?: string | undefined;
5301
5525
  client_id?: string | undefined;
@@ -5323,6 +5547,7 @@ export declare function init(config: AuthHeroConfig): {
5323
5547
  name: string;
5324
5548
  strategy: string;
5325
5549
  options?: {
5550
+ provider?: string | undefined;
5326
5551
  issuer?: string | undefined;
5327
5552
  client_secret?: string | undefined;
5328
5553
  client_id?: string | undefined;
@@ -5358,6 +5583,7 @@ export declare function init(config: AuthHeroConfig): {
5358
5583
  name: string;
5359
5584
  strategy: string;
5360
5585
  options?: {
5586
+ provider?: string | undefined;
5361
5587
  issuer?: string | undefined;
5362
5588
  client_secret?: string | undefined;
5363
5589
  client_id?: string | undefined;
@@ -5384,6 +5610,7 @@ export declare function init(config: AuthHeroConfig): {
5384
5610
  name: string;
5385
5611
  strategy: string;
5386
5612
  options?: {
5613
+ provider?: string | undefined;
5387
5614
  issuer?: string | undefined;
5388
5615
  client_secret?: string | undefined;
5389
5616
  client_id?: string | undefined;
@@ -7253,7 +7480,28 @@ export declare function init(config: AuthHeroConfig): {
7253
7480
  json: {
7254
7481
  email: string;
7255
7482
  client_id: string;
7256
- connection: string;
7483
+ connection: "email";
7484
+ authParams: {
7485
+ nonce?: string | undefined;
7486
+ response_mode?: AuthorizationResponseMode | undefined;
7487
+ username?: string | undefined;
7488
+ response_type?: AuthorizationResponseType | undefined;
7489
+ audience?: string | undefined;
7490
+ state?: string | undefined;
7491
+ scope?: string | undefined;
7492
+ redirect_uri?: string | undefined;
7493
+ code_challenge_method?: CodeChallengeMethod | undefined;
7494
+ code_challenge?: string | undefined;
7495
+ act_as?: string | undefined;
7496
+ organization?: string | undefined;
7497
+ prompt?: string | undefined;
7498
+ ui_locales?: string | undefined;
7499
+ vendor_id?: string | undefined;
7500
+ };
7501
+ send: "code" | "link";
7502
+ } | {
7503
+ client_id: string;
7504
+ connection: "sms";
7257
7505
  authParams: {
7258
7506
  nonce?: string | undefined;
7259
7507
  response_mode?: AuthorizationResponseMode | undefined;
@@ -7271,6 +7519,7 @@ export declare function init(config: AuthHeroConfig): {
7271
7519
  ui_locales?: string | undefined;
7272
7520
  vendor_id?: string | undefined;
7273
7521
  };
7522
+ phone_number: string;
7274
7523
  send: "code" | "link";
7275
7524
  };
7276
7525
  };
@@ -7759,7 +8008,14 @@ export declare function init(config: AuthHeroConfig): {
7759
8008
  };
7760
8009
 
7761
8010
  export {
8011
+ Google as GoogleLogo,
8012
+ InvalidSessionPage as InvalidSession,
7762
8013
  LogType$1 as LogType,
8014
+ MessagePage as Message,
8015
+ PreSignupComfirmationPage as PreSignUpConfirmationPage,
8016
+ PreSignupPage as PreSignUpPage,
8017
+ SignupPage as SignUpPage,
8018
+ UserNotFound as UserNotFoundPage,
7763
8019
  };
7764
8020
 
7765
8021
  export {};