authhero 4.115.0 → 4.116.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/dist/assets/u/widget/index.esm.js +1 -1
- package/dist/authhero.cjs +357 -577
- package/dist/authhero.d.ts +63 -33
- package/dist/authhero.mjs +55501 -55757
- package/dist/stats.html +1 -1
- package/package.json +4 -4
package/dist/authhero.d.ts
CHANGED
|
@@ -11556,7 +11556,10 @@ export declare enum AuthorizationResponseType {
|
|
|
11556
11556
|
TOKEN = "token",
|
|
11557
11557
|
ID_TOKEN = "id_token",
|
|
11558
11558
|
TOKEN_ID_TOKEN = "id_token token",
|
|
11559
|
-
CODE = "code"
|
|
11559
|
+
CODE = "code",
|
|
11560
|
+
CODE_ID_TOKEN = "code id_token",
|
|
11561
|
+
CODE_TOKEN = "code token",
|
|
11562
|
+
CODE_ID_TOKEN_TOKEN = "code id_token token"
|
|
11560
11563
|
}
|
|
11561
11564
|
export declare enum AuthorizationResponseMode {
|
|
11562
11565
|
QUERY = "query",
|
|
@@ -11677,6 +11680,11 @@ export declare const brandingSchema: z.ZodObject<{
|
|
|
11677
11680
|
}, {
|
|
11678
11681
|
url: string;
|
|
11679
11682
|
}>>;
|
|
11683
|
+
dark_mode: z.ZodOptional<z.ZodEnum<[
|
|
11684
|
+
"dark",
|
|
11685
|
+
"light",
|
|
11686
|
+
"auto"
|
|
11687
|
+
]>>;
|
|
11680
11688
|
}, "strip", z.ZodTypeAny, {
|
|
11681
11689
|
colors?: {
|
|
11682
11690
|
primary: string;
|
|
@@ -11693,6 +11701,7 @@ export declare const brandingSchema: z.ZodObject<{
|
|
|
11693
11701
|
font?: {
|
|
11694
11702
|
url: string;
|
|
11695
11703
|
} | undefined;
|
|
11704
|
+
dark_mode?: "dark" | "light" | "auto" | undefined;
|
|
11696
11705
|
}, {
|
|
11697
11706
|
colors?: {
|
|
11698
11707
|
primary: string;
|
|
@@ -11709,6 +11718,7 @@ export declare const brandingSchema: z.ZodObject<{
|
|
|
11709
11718
|
font?: {
|
|
11710
11719
|
url: string;
|
|
11711
11720
|
} | undefined;
|
|
11721
|
+
dark_mode?: "dark" | "light" | "auto" | undefined;
|
|
11712
11722
|
}>;
|
|
11713
11723
|
export type Branding = z.infer<typeof brandingSchema>;
|
|
11714
11724
|
export declare const codeTypeSchema: z.ZodEnum<[
|
|
@@ -47190,7 +47200,7 @@ export declare const colorsSchema: z.ZodObject<{
|
|
|
47190
47200
|
base_focus_color: string;
|
|
47191
47201
|
base_hover_color: string;
|
|
47192
47202
|
body_text: string;
|
|
47193
|
-
captcha_widget_theme: "
|
|
47203
|
+
captcha_widget_theme: "dark" | "light" | "auto";
|
|
47194
47204
|
header: string;
|
|
47195
47205
|
icons: string;
|
|
47196
47206
|
input_background: string;
|
|
@@ -47210,7 +47220,7 @@ export declare const colorsSchema: z.ZodObject<{
|
|
|
47210
47220
|
base_focus_color: string;
|
|
47211
47221
|
base_hover_color: string;
|
|
47212
47222
|
body_text: string;
|
|
47213
|
-
captcha_widget_theme: "
|
|
47223
|
+
captcha_widget_theme: "dark" | "light" | "auto";
|
|
47214
47224
|
header: string;
|
|
47215
47225
|
icons: string;
|
|
47216
47226
|
input_background: string;
|
|
@@ -47492,7 +47502,7 @@ export declare const themeInsertSchema: z.ZodObject<{
|
|
|
47492
47502
|
base_focus_color: string;
|
|
47493
47503
|
base_hover_color: string;
|
|
47494
47504
|
body_text: string;
|
|
47495
|
-
captcha_widget_theme: "
|
|
47505
|
+
captcha_widget_theme: "dark" | "light" | "auto";
|
|
47496
47506
|
header: string;
|
|
47497
47507
|
icons: string;
|
|
47498
47508
|
input_background: string;
|
|
@@ -47512,7 +47522,7 @@ export declare const themeInsertSchema: z.ZodObject<{
|
|
|
47512
47522
|
base_focus_color: string;
|
|
47513
47523
|
base_hover_color: string;
|
|
47514
47524
|
body_text: string;
|
|
47515
|
-
captcha_widget_theme: "
|
|
47525
|
+
captcha_widget_theme: "dark" | "light" | "auto";
|
|
47516
47526
|
header: string;
|
|
47517
47527
|
icons: string;
|
|
47518
47528
|
input_background: string;
|
|
@@ -47728,7 +47738,7 @@ export declare const themeInsertSchema: z.ZodObject<{
|
|
|
47728
47738
|
base_focus_color: string;
|
|
47729
47739
|
base_hover_color: string;
|
|
47730
47740
|
body_text: string;
|
|
47731
|
-
captcha_widget_theme: "
|
|
47741
|
+
captcha_widget_theme: "dark" | "light" | "auto";
|
|
47732
47742
|
header: string;
|
|
47733
47743
|
icons: string;
|
|
47734
47744
|
input_background: string;
|
|
@@ -47804,7 +47814,7 @@ export declare const themeInsertSchema: z.ZodObject<{
|
|
|
47804
47814
|
base_focus_color: string;
|
|
47805
47815
|
base_hover_color: string;
|
|
47806
47816
|
body_text: string;
|
|
47807
|
-
captcha_widget_theme: "
|
|
47817
|
+
captcha_widget_theme: "dark" | "light" | "auto";
|
|
47808
47818
|
header: string;
|
|
47809
47819
|
icons: string;
|
|
47810
47820
|
input_background: string;
|
|
@@ -47939,7 +47949,7 @@ export declare const themeSchema: z.ZodObject<{
|
|
|
47939
47949
|
base_focus_color: string;
|
|
47940
47950
|
base_hover_color: string;
|
|
47941
47951
|
body_text: string;
|
|
47942
|
-
captcha_widget_theme: "
|
|
47952
|
+
captcha_widget_theme: "dark" | "light" | "auto";
|
|
47943
47953
|
header: string;
|
|
47944
47954
|
icons: string;
|
|
47945
47955
|
input_background: string;
|
|
@@ -47959,7 +47969,7 @@ export declare const themeSchema: z.ZodObject<{
|
|
|
47959
47969
|
base_focus_color: string;
|
|
47960
47970
|
base_hover_color: string;
|
|
47961
47971
|
body_text: string;
|
|
47962
|
-
captcha_widget_theme: "
|
|
47972
|
+
captcha_widget_theme: "dark" | "light" | "auto";
|
|
47963
47973
|
header: string;
|
|
47964
47974
|
icons: string;
|
|
47965
47975
|
input_background: string;
|
|
@@ -48177,7 +48187,7 @@ export declare const themeSchema: z.ZodObject<{
|
|
|
48177
48187
|
base_focus_color: string;
|
|
48178
48188
|
base_hover_color: string;
|
|
48179
48189
|
body_text: string;
|
|
48180
|
-
captcha_widget_theme: "
|
|
48190
|
+
captcha_widget_theme: "dark" | "light" | "auto";
|
|
48181
48191
|
header: string;
|
|
48182
48192
|
icons: string;
|
|
48183
48193
|
input_background: string;
|
|
@@ -48254,7 +48264,7 @@ export declare const themeSchema: z.ZodObject<{
|
|
|
48254
48264
|
base_focus_color: string;
|
|
48255
48265
|
base_hover_color: string;
|
|
48256
48266
|
body_text: string;
|
|
48257
|
-
captcha_widget_theme: "
|
|
48267
|
+
captcha_widget_theme: "dark" | "light" | "auto";
|
|
48258
48268
|
header: string;
|
|
48259
48269
|
icons: string;
|
|
48260
48270
|
input_background: string;
|
|
@@ -59745,6 +59755,7 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
59745
59755
|
sdkSrc?: string | undefined;
|
|
59746
59756
|
sdk_src?: string | undefined;
|
|
59747
59757
|
} | undefined;
|
|
59758
|
+
translations?: Record<string, any> | undefined;
|
|
59748
59759
|
nodes?: ({
|
|
59749
59760
|
type: "FLOW";
|
|
59750
59761
|
id: string;
|
|
@@ -60284,7 +60295,6 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
60284
60295
|
custom?: Record<string, any> | undefined;
|
|
60285
60296
|
errors?: Record<string, any> | undefined;
|
|
60286
60297
|
} | undefined;
|
|
60287
|
-
translations?: Record<string, any> | undefined;
|
|
60288
60298
|
};
|
|
60289
60299
|
};
|
|
60290
60300
|
output: {
|
|
@@ -60893,6 +60903,7 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
60893
60903
|
sdkSrc?: string | undefined;
|
|
60894
60904
|
sdk_src?: string | undefined;
|
|
60895
60905
|
} | undefined;
|
|
60906
|
+
translations?: Record<string, any> | undefined;
|
|
60896
60907
|
nodes?: ({
|
|
60897
60908
|
type: "FLOW";
|
|
60898
60909
|
id: string;
|
|
@@ -61432,7 +61443,6 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
61432
61443
|
custom?: Record<string, any> | undefined;
|
|
61433
61444
|
errors?: Record<string, any> | undefined;
|
|
61434
61445
|
} | undefined;
|
|
61435
|
-
translations?: Record<string, any> | undefined;
|
|
61436
61446
|
};
|
|
61437
61447
|
};
|
|
61438
61448
|
output: {
|
|
@@ -62192,8 +62202,34 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
62192
62202
|
};
|
|
62193
62203
|
};
|
|
62194
62204
|
output: {
|
|
62195
|
-
prompt: "status" | "common" | "
|
|
62205
|
+
prompt: "status" | "common" | "consent" | "device-flow" | "email-otp-challenge" | "email-verification" | "invitation" | "login" | "login-id" | "login-password" | "login-passwordless" | "mfa" | "mfa-email" | "mfa-otp" | "mfa-phone" | "mfa-login-options" | "mfa-push" | "mfa-recovery-code" | "mfa-voice" | "mfa-webauthn" | "passkeys" | "organizations" | "reset-password" | "signup" | "signup-id" | "signup-password" | "captcha" | "custom-form";
|
|
62206
|
+
language: string;
|
|
62207
|
+
}[];
|
|
62208
|
+
outputFormat: "json";
|
|
62209
|
+
status: 200;
|
|
62210
|
+
};
|
|
62211
|
+
};
|
|
62212
|
+
} & {
|
|
62213
|
+
"/custom-text/defaults": {
|
|
62214
|
+
$get: {
|
|
62215
|
+
input: {
|
|
62216
|
+
query: {
|
|
62217
|
+
prompt?: string | undefined;
|
|
62218
|
+
language?: string | undefined;
|
|
62219
|
+
};
|
|
62220
|
+
} & {
|
|
62221
|
+
header: {
|
|
62222
|
+
"tenant-id"?: string | undefined;
|
|
62223
|
+
};
|
|
62224
|
+
};
|
|
62225
|
+
output: {
|
|
62226
|
+
prompt: string;
|
|
62196
62227
|
language: string;
|
|
62228
|
+
custom_text: {
|
|
62229
|
+
[x: string]: {
|
|
62230
|
+
[x: string]: string;
|
|
62231
|
+
};
|
|
62232
|
+
};
|
|
62197
62233
|
}[];
|
|
62198
62234
|
outputFormat: "json";
|
|
62199
62235
|
status: 200;
|
|
@@ -62204,7 +62240,7 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
62204
62240
|
$get: {
|
|
62205
62241
|
input: {
|
|
62206
62242
|
param: {
|
|
62207
|
-
prompt: "status" | "common" | "
|
|
62243
|
+
prompt: "status" | "common" | "consent" | "device-flow" | "email-otp-challenge" | "email-verification" | "invitation" | "login" | "login-id" | "login-password" | "login-passwordless" | "mfa" | "mfa-email" | "mfa-otp" | "mfa-phone" | "mfa-login-options" | "mfa-push" | "mfa-recovery-code" | "mfa-voice" | "mfa-webauthn" | "passkeys" | "organizations" | "reset-password" | "signup" | "signup-id" | "signup-password" | "captcha" | "custom-form";
|
|
62208
62244
|
language: string;
|
|
62209
62245
|
};
|
|
62210
62246
|
} & {
|
|
@@ -62226,7 +62262,7 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
62226
62262
|
$put: {
|
|
62227
62263
|
input: {
|
|
62228
62264
|
param: {
|
|
62229
|
-
prompt: "status" | "common" | "
|
|
62265
|
+
prompt: "status" | "common" | "consent" | "device-flow" | "email-otp-challenge" | "email-verification" | "invitation" | "login" | "login-id" | "login-password" | "login-passwordless" | "mfa" | "mfa-email" | "mfa-otp" | "mfa-phone" | "mfa-login-options" | "mfa-push" | "mfa-recovery-code" | "mfa-voice" | "mfa-webauthn" | "passkeys" | "organizations" | "reset-password" | "signup" | "signup-id" | "signup-password" | "captcha" | "custom-form";
|
|
62230
62266
|
language: string;
|
|
62231
62267
|
};
|
|
62232
62268
|
} & {
|
|
@@ -62250,7 +62286,7 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
62250
62286
|
$delete: {
|
|
62251
62287
|
input: {
|
|
62252
62288
|
param: {
|
|
62253
|
-
prompt: "status" | "common" | "
|
|
62289
|
+
prompt: "status" | "common" | "consent" | "device-flow" | "email-otp-challenge" | "email-verification" | "invitation" | "login" | "login-id" | "login-password" | "login-passwordless" | "mfa" | "mfa-email" | "mfa-otp" | "mfa-phone" | "mfa-login-options" | "mfa-push" | "mfa-recovery-code" | "mfa-voice" | "mfa-webauthn" | "passkeys" | "organizations" | "reset-password" | "signup" | "signup-id" | "signup-password" | "captcha" | "custom-form";
|
|
62254
62290
|
language: string;
|
|
62255
62291
|
};
|
|
62256
62292
|
} & {
|
|
@@ -64226,8 +64262,8 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
64226
64262
|
};
|
|
64227
64263
|
output: {
|
|
64228
64264
|
id: string;
|
|
64229
|
-
expires_at: string;
|
|
64230
64265
|
token: string;
|
|
64266
|
+
expires_at: string;
|
|
64231
64267
|
single_use: boolean;
|
|
64232
64268
|
sub?: string | undefined;
|
|
64233
64269
|
constraints?: {
|
|
@@ -67269,7 +67305,7 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
67269
67305
|
base_focus_color: string;
|
|
67270
67306
|
base_hover_color: string;
|
|
67271
67307
|
body_text: string;
|
|
67272
|
-
captcha_widget_theme: "
|
|
67308
|
+
captcha_widget_theme: "dark" | "light" | "auto";
|
|
67273
67309
|
header: string;
|
|
67274
67310
|
icons: string;
|
|
67275
67311
|
input_background: string;
|
|
@@ -67438,7 +67474,7 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
67438
67474
|
base_focus_color: string;
|
|
67439
67475
|
base_hover_color: string;
|
|
67440
67476
|
body_text: string;
|
|
67441
|
-
captcha_widget_theme: "
|
|
67477
|
+
captcha_widget_theme: "dark" | "light" | "auto";
|
|
67442
67478
|
header: string;
|
|
67443
67479
|
icons: string;
|
|
67444
67480
|
input_background: string;
|
|
@@ -67531,6 +67567,7 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
67531
67567
|
font?: {
|
|
67532
67568
|
url: string;
|
|
67533
67569
|
} | undefined;
|
|
67570
|
+
dark_mode?: "dark" | "light" | "auto" | undefined | undefined;
|
|
67534
67571
|
};
|
|
67535
67572
|
outputFormat: "json";
|
|
67536
67573
|
status: 200;
|
|
@@ -67556,10 +67593,11 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
67556
67593
|
} | undefined;
|
|
67557
67594
|
logo_url?: string | undefined;
|
|
67558
67595
|
favicon_url?: string | undefined;
|
|
67559
|
-
powered_by_logo_url?: string | undefined;
|
|
67560
67596
|
font?: {
|
|
67561
67597
|
url: string;
|
|
67562
67598
|
} | undefined;
|
|
67599
|
+
powered_by_logo_url?: string | undefined;
|
|
67600
|
+
dark_mode?: "auto" | "dark" | "light" | undefined;
|
|
67563
67601
|
};
|
|
67564
67602
|
};
|
|
67565
67603
|
output: {
|
|
@@ -67578,6 +67616,7 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
67578
67616
|
font?: {
|
|
67579
67617
|
url: string;
|
|
67580
67618
|
} | undefined;
|
|
67619
|
+
dark_mode?: "dark" | "light" | "auto" | undefined | undefined;
|
|
67581
67620
|
};
|
|
67582
67621
|
outputFormat: "json";
|
|
67583
67622
|
status: 200;
|
|
@@ -67586,15 +67625,6 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
67586
67625
|
} & {
|
|
67587
67626
|
"/templates/universal-login": {
|
|
67588
67627
|
$get: {
|
|
67589
|
-
input: {
|
|
67590
|
-
header: {
|
|
67591
|
-
"tenant-id"?: string | undefined;
|
|
67592
|
-
};
|
|
67593
|
-
};
|
|
67594
|
-
output: {};
|
|
67595
|
-
outputFormat: string;
|
|
67596
|
-
status: 404;
|
|
67597
|
-
} | {
|
|
67598
67628
|
input: {
|
|
67599
67629
|
header: {
|
|
67600
67630
|
"tenant-id"?: string | undefined;
|
|
@@ -68562,8 +68592,8 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
68562
68592
|
$get: {
|
|
68563
68593
|
input: {
|
|
68564
68594
|
query: {
|
|
68565
|
-
domain: string;
|
|
68566
68595
|
state: string;
|
|
68596
|
+
domain: string;
|
|
68567
68597
|
return_to: string;
|
|
68568
68598
|
scope?: string | undefined;
|
|
68569
68599
|
audience?: string | undefined;
|
|
@@ -68576,8 +68606,8 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
68576
68606
|
} | {
|
|
68577
68607
|
input: {
|
|
68578
68608
|
query: {
|
|
68579
|
-
domain: string;
|
|
68580
68609
|
state: string;
|
|
68610
|
+
domain: string;
|
|
68581
68611
|
return_to: string;
|
|
68582
68612
|
scope?: string | undefined;
|
|
68583
68613
|
audience?: string | undefined;
|
|
@@ -68590,8 +68620,8 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
68590
68620
|
} | {
|
|
68591
68621
|
input: {
|
|
68592
68622
|
query: {
|
|
68593
|
-
domain: string;
|
|
68594
68623
|
state: string;
|
|
68624
|
+
domain: string;
|
|
68595
68625
|
return_to: string;
|
|
68596
68626
|
scope?: string | undefined;
|
|
68597
68627
|
audience?: string | undefined;
|