authhero 5.2.0 → 5.3.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 +99 -99
- package/dist/authhero.d.ts +41 -7
- package/dist/authhero.mjs +10302 -10296
- package/dist/stats.html +1 -1
- package/package.json +4 -4
package/dist/authhero.d.ts
CHANGED
|
@@ -12452,16 +12452,19 @@ export declare const connectionOptionsSchema: z.ZodObject<{
|
|
|
12452
12452
|
userinfo_endpoint: z.ZodOptional<z.ZodString>;
|
|
12453
12453
|
client_id: z.ZodOptional<z.ZodString>;
|
|
12454
12454
|
client_secret: z.ZodOptional<z.ZodString>;
|
|
12455
|
+
realm: z.ZodOptional<z.ZodString>;
|
|
12455
12456
|
}, "strip", z.ZodTypeAny, {
|
|
12456
12457
|
client_id?: string | undefined;
|
|
12457
12458
|
client_secret?: string | undefined;
|
|
12458
12459
|
token_endpoint?: string | undefined;
|
|
12459
12460
|
userinfo_endpoint?: string | undefined;
|
|
12461
|
+
realm?: string | undefined;
|
|
12460
12462
|
}, {
|
|
12461
12463
|
client_id?: string | undefined;
|
|
12462
12464
|
client_secret?: string | undefined;
|
|
12463
12465
|
token_endpoint?: string | undefined;
|
|
12464
12466
|
userinfo_endpoint?: string | undefined;
|
|
12467
|
+
realm?: string | undefined;
|
|
12465
12468
|
}>>;
|
|
12466
12469
|
attributes: z.ZodOptional<z.ZodObject<{
|
|
12467
12470
|
email: z.ZodOptional<z.ZodObject<{
|
|
@@ -12871,6 +12874,7 @@ export declare const connectionOptionsSchema: z.ZodObject<{
|
|
|
12871
12874
|
client_secret?: string | undefined;
|
|
12872
12875
|
token_endpoint?: string | undefined;
|
|
12873
12876
|
userinfo_endpoint?: string | undefined;
|
|
12877
|
+
realm?: string | undefined;
|
|
12874
12878
|
} | undefined;
|
|
12875
12879
|
attributes?: {
|
|
12876
12880
|
email?: {
|
|
@@ -12983,6 +12987,7 @@ export declare const connectionOptionsSchema: z.ZodObject<{
|
|
|
12983
12987
|
client_secret?: string | undefined;
|
|
12984
12988
|
token_endpoint?: string | undefined;
|
|
12985
12989
|
userinfo_endpoint?: string | undefined;
|
|
12990
|
+
realm?: string | undefined;
|
|
12986
12991
|
} | undefined;
|
|
12987
12992
|
attributes?: {
|
|
12988
12993
|
email?: {
|
|
@@ -13124,16 +13129,19 @@ export declare const connectionInsertSchema: z.ZodObject<{
|
|
|
13124
13129
|
userinfo_endpoint: z.ZodOptional<z.ZodString>;
|
|
13125
13130
|
client_id: z.ZodOptional<z.ZodString>;
|
|
13126
13131
|
client_secret: z.ZodOptional<z.ZodString>;
|
|
13132
|
+
realm: z.ZodOptional<z.ZodString>;
|
|
13127
13133
|
}, "strip", z.ZodTypeAny, {
|
|
13128
13134
|
client_id?: string | undefined;
|
|
13129
13135
|
client_secret?: string | undefined;
|
|
13130
13136
|
token_endpoint?: string | undefined;
|
|
13131
13137
|
userinfo_endpoint?: string | undefined;
|
|
13138
|
+
realm?: string | undefined;
|
|
13132
13139
|
}, {
|
|
13133
13140
|
client_id?: string | undefined;
|
|
13134
13141
|
client_secret?: string | undefined;
|
|
13135
13142
|
token_endpoint?: string | undefined;
|
|
13136
13143
|
userinfo_endpoint?: string | undefined;
|
|
13144
|
+
realm?: string | undefined;
|
|
13137
13145
|
}>>;
|
|
13138
13146
|
attributes: z.ZodOptional<z.ZodObject<{
|
|
13139
13147
|
email: z.ZodOptional<z.ZodObject<{
|
|
@@ -13543,6 +13551,7 @@ export declare const connectionInsertSchema: z.ZodObject<{
|
|
|
13543
13551
|
client_secret?: string | undefined;
|
|
13544
13552
|
token_endpoint?: string | undefined;
|
|
13545
13553
|
userinfo_endpoint?: string | undefined;
|
|
13554
|
+
realm?: string | undefined;
|
|
13546
13555
|
} | undefined;
|
|
13547
13556
|
attributes?: {
|
|
13548
13557
|
email?: {
|
|
@@ -13655,6 +13664,7 @@ export declare const connectionInsertSchema: z.ZodObject<{
|
|
|
13655
13664
|
client_secret?: string | undefined;
|
|
13656
13665
|
token_endpoint?: string | undefined;
|
|
13657
13666
|
userinfo_endpoint?: string | undefined;
|
|
13667
|
+
realm?: string | undefined;
|
|
13658
13668
|
} | undefined;
|
|
13659
13669
|
attributes?: {
|
|
13660
13670
|
email?: {
|
|
@@ -13767,6 +13777,7 @@ export declare const connectionInsertSchema: z.ZodObject<{
|
|
|
13767
13777
|
client_secret?: string | undefined;
|
|
13768
13778
|
token_endpoint?: string | undefined;
|
|
13769
13779
|
userinfo_endpoint?: string | undefined;
|
|
13780
|
+
realm?: string | undefined;
|
|
13770
13781
|
} | undefined;
|
|
13771
13782
|
attributes?: {
|
|
13772
13783
|
email?: {
|
|
@@ -13888,6 +13899,7 @@ export declare const connectionInsertSchema: z.ZodObject<{
|
|
|
13888
13899
|
client_secret?: string | undefined;
|
|
13889
13900
|
token_endpoint?: string | undefined;
|
|
13890
13901
|
userinfo_endpoint?: string | undefined;
|
|
13902
|
+
realm?: string | undefined;
|
|
13891
13903
|
} | undefined;
|
|
13892
13904
|
attributes?: {
|
|
13893
13905
|
email?: {
|
|
@@ -14058,16 +14070,19 @@ export declare const connectionSchema: z.ZodObject<{
|
|
|
14058
14070
|
userinfo_endpoint: z.ZodOptional<z.ZodString>;
|
|
14059
14071
|
client_id: z.ZodOptional<z.ZodString>;
|
|
14060
14072
|
client_secret: z.ZodOptional<z.ZodString>;
|
|
14073
|
+
realm: z.ZodOptional<z.ZodString>;
|
|
14061
14074
|
}, "strip", z.ZodTypeAny, {
|
|
14062
14075
|
client_id?: string | undefined;
|
|
14063
14076
|
client_secret?: string | undefined;
|
|
14064
14077
|
token_endpoint?: string | undefined;
|
|
14065
14078
|
userinfo_endpoint?: string | undefined;
|
|
14079
|
+
realm?: string | undefined;
|
|
14066
14080
|
}, {
|
|
14067
14081
|
client_id?: string | undefined;
|
|
14068
14082
|
client_secret?: string | undefined;
|
|
14069
14083
|
token_endpoint?: string | undefined;
|
|
14070
14084
|
userinfo_endpoint?: string | undefined;
|
|
14085
|
+
realm?: string | undefined;
|
|
14071
14086
|
}>>;
|
|
14072
14087
|
attributes: z.ZodOptional<z.ZodObject<{
|
|
14073
14088
|
email: z.ZodOptional<z.ZodObject<{
|
|
@@ -14477,6 +14492,7 @@ export declare const connectionSchema: z.ZodObject<{
|
|
|
14477
14492
|
client_secret?: string | undefined;
|
|
14478
14493
|
token_endpoint?: string | undefined;
|
|
14479
14494
|
userinfo_endpoint?: string | undefined;
|
|
14495
|
+
realm?: string | undefined;
|
|
14480
14496
|
} | undefined;
|
|
14481
14497
|
attributes?: {
|
|
14482
14498
|
email?: {
|
|
@@ -14589,6 +14605,7 @@ export declare const connectionSchema: z.ZodObject<{
|
|
|
14589
14605
|
client_secret?: string | undefined;
|
|
14590
14606
|
token_endpoint?: string | undefined;
|
|
14591
14607
|
userinfo_endpoint?: string | undefined;
|
|
14608
|
+
realm?: string | undefined;
|
|
14592
14609
|
} | undefined;
|
|
14593
14610
|
attributes?: {
|
|
14594
14611
|
email?: {
|
|
@@ -14701,6 +14718,7 @@ export declare const connectionSchema: z.ZodObject<{
|
|
|
14701
14718
|
client_secret?: string | undefined;
|
|
14702
14719
|
token_endpoint?: string | undefined;
|
|
14703
14720
|
userinfo_endpoint?: string | undefined;
|
|
14721
|
+
realm?: string | undefined;
|
|
14704
14722
|
} | undefined;
|
|
14705
14723
|
attributes?: {
|
|
14706
14724
|
email?: {
|
|
@@ -14824,6 +14842,7 @@ export declare const connectionSchema: z.ZodObject<{
|
|
|
14824
14842
|
client_secret?: string | undefined;
|
|
14825
14843
|
token_endpoint?: string | undefined;
|
|
14826
14844
|
userinfo_endpoint?: string | undefined;
|
|
14845
|
+
realm?: string | undefined;
|
|
14827
14846
|
} | undefined;
|
|
14828
14847
|
attributes?: {
|
|
14829
14848
|
email?: {
|
|
@@ -53704,16 +53723,19 @@ declare const enrichedClientSchema: z.ZodObject<{
|
|
|
53704
53723
|
userinfo_endpoint: z.ZodOptional<z.ZodString>;
|
|
53705
53724
|
client_id: z.ZodOptional<z.ZodString>;
|
|
53706
53725
|
client_secret: z.ZodOptional<z.ZodString>;
|
|
53726
|
+
realm: z.ZodOptional<z.ZodString>;
|
|
53707
53727
|
}, "strip", z.ZodTypeAny, {
|
|
53708
53728
|
client_id?: string | undefined;
|
|
53709
53729
|
client_secret?: string | undefined;
|
|
53710
53730
|
token_endpoint?: string | undefined;
|
|
53711
53731
|
userinfo_endpoint?: string | undefined;
|
|
53732
|
+
realm?: string | undefined;
|
|
53712
53733
|
}, {
|
|
53713
53734
|
client_id?: string | undefined;
|
|
53714
53735
|
client_secret?: string | undefined;
|
|
53715
53736
|
token_endpoint?: string | undefined;
|
|
53716
53737
|
userinfo_endpoint?: string | undefined;
|
|
53738
|
+
realm?: string | undefined;
|
|
53717
53739
|
}>>;
|
|
53718
53740
|
attributes: z.ZodOptional<z.ZodObject<{
|
|
53719
53741
|
email: z.ZodOptional<z.ZodObject<{
|
|
@@ -54123,6 +54145,7 @@ declare const enrichedClientSchema: z.ZodObject<{
|
|
|
54123
54145
|
client_secret?: string | undefined;
|
|
54124
54146
|
token_endpoint?: string | undefined;
|
|
54125
54147
|
userinfo_endpoint?: string | undefined;
|
|
54148
|
+
realm?: string | undefined;
|
|
54126
54149
|
} | undefined;
|
|
54127
54150
|
attributes?: {
|
|
54128
54151
|
email?: {
|
|
@@ -54235,6 +54258,7 @@ declare const enrichedClientSchema: z.ZodObject<{
|
|
|
54235
54258
|
client_secret?: string | undefined;
|
|
54236
54259
|
token_endpoint?: string | undefined;
|
|
54237
54260
|
userinfo_endpoint?: string | undefined;
|
|
54261
|
+
realm?: string | undefined;
|
|
54238
54262
|
} | undefined;
|
|
54239
54263
|
attributes?: {
|
|
54240
54264
|
email?: {
|
|
@@ -54347,6 +54371,7 @@ declare const enrichedClientSchema: z.ZodObject<{
|
|
|
54347
54371
|
client_secret?: string | undefined;
|
|
54348
54372
|
token_endpoint?: string | undefined;
|
|
54349
54373
|
userinfo_endpoint?: string | undefined;
|
|
54374
|
+
realm?: string | undefined;
|
|
54350
54375
|
} | undefined;
|
|
54351
54376
|
attributes?: {
|
|
54352
54377
|
email?: {
|
|
@@ -54470,6 +54495,7 @@ declare const enrichedClientSchema: z.ZodObject<{
|
|
|
54470
54495
|
client_secret?: string | undefined;
|
|
54471
54496
|
token_endpoint?: string | undefined;
|
|
54472
54497
|
userinfo_endpoint?: string | undefined;
|
|
54498
|
+
realm?: string | undefined;
|
|
54473
54499
|
} | undefined;
|
|
54474
54500
|
attributes?: {
|
|
54475
54501
|
email?: {
|
|
@@ -54921,6 +54947,7 @@ declare const enrichedClientSchema: z.ZodObject<{
|
|
|
54921
54947
|
client_secret?: string | undefined;
|
|
54922
54948
|
token_endpoint?: string | undefined;
|
|
54923
54949
|
userinfo_endpoint?: string | undefined;
|
|
54950
|
+
realm?: string | undefined;
|
|
54924
54951
|
} | undefined;
|
|
54925
54952
|
attributes?: {
|
|
54926
54953
|
email?: {
|
|
@@ -63601,6 +63628,7 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
63601
63628
|
client_secret?: string | undefined | undefined;
|
|
63602
63629
|
token_endpoint?: string | undefined | undefined;
|
|
63603
63630
|
userinfo_endpoint?: string | undefined | undefined;
|
|
63631
|
+
realm?: string | undefined | undefined;
|
|
63604
63632
|
} | undefined;
|
|
63605
63633
|
attributes?: {
|
|
63606
63634
|
email?: {
|
|
@@ -63732,6 +63760,7 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
63732
63760
|
client_secret?: string | undefined | undefined;
|
|
63733
63761
|
token_endpoint?: string | undefined | undefined;
|
|
63734
63762
|
userinfo_endpoint?: string | undefined | undefined;
|
|
63763
|
+
realm?: string | undefined | undefined;
|
|
63735
63764
|
} | undefined;
|
|
63736
63765
|
attributes?: {
|
|
63737
63766
|
email?: {
|
|
@@ -63882,6 +63911,7 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
63882
63911
|
client_secret?: string | undefined | undefined;
|
|
63883
63912
|
token_endpoint?: string | undefined | undefined;
|
|
63884
63913
|
userinfo_endpoint?: string | undefined | undefined;
|
|
63914
|
+
realm?: string | undefined | undefined;
|
|
63885
63915
|
} | undefined;
|
|
63886
63916
|
attributes?: {
|
|
63887
63917
|
email?: {
|
|
@@ -64060,6 +64090,7 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
64060
64090
|
client_secret?: string | undefined | undefined;
|
|
64061
64091
|
token_endpoint?: string | undefined | undefined;
|
|
64062
64092
|
userinfo_endpoint?: string | undefined | undefined;
|
|
64093
|
+
realm?: string | undefined | undefined;
|
|
64063
64094
|
} | undefined;
|
|
64064
64095
|
attributes?: {
|
|
64065
64096
|
email?: {
|
|
@@ -64217,6 +64248,7 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
64217
64248
|
client_secret?: string | undefined | undefined;
|
|
64218
64249
|
token_endpoint?: string | undefined | undefined;
|
|
64219
64250
|
userinfo_endpoint?: string | undefined | undefined;
|
|
64251
|
+
realm?: string | undefined | undefined;
|
|
64220
64252
|
} | undefined;
|
|
64221
64253
|
attributes?: {
|
|
64222
64254
|
email?: {
|
|
@@ -66633,6 +66665,7 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
66633
66665
|
client_secret?: string | undefined | undefined;
|
|
66634
66666
|
token_endpoint?: string | undefined | undefined;
|
|
66635
66667
|
userinfo_endpoint?: string | undefined | undefined;
|
|
66668
|
+
realm?: string | undefined | undefined;
|
|
66636
66669
|
} | undefined;
|
|
66637
66670
|
attributes?: {
|
|
66638
66671
|
email?: {
|
|
@@ -66786,6 +66819,7 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
66786
66819
|
client_secret?: string | undefined | undefined;
|
|
66787
66820
|
token_endpoint?: string | undefined | undefined;
|
|
66788
66821
|
userinfo_endpoint?: string | undefined | undefined;
|
|
66822
|
+
realm?: string | undefined | undefined;
|
|
66789
66823
|
} | undefined;
|
|
66790
66824
|
attributes?: {
|
|
66791
66825
|
email?: {
|
|
@@ -70468,9 +70502,9 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
70468
70502
|
auth0Client?: string | undefined;
|
|
70469
70503
|
login_ticket?: string | undefined;
|
|
70470
70504
|
screen_hint?: string | undefined;
|
|
70505
|
+
realm?: string | undefined;
|
|
70471
70506
|
ui_locales?: string | undefined;
|
|
70472
70507
|
code_challenge?: string | undefined;
|
|
70473
|
-
realm?: string | undefined;
|
|
70474
70508
|
code_challenge_method?: CodeChallengeMethod | undefined;
|
|
70475
70509
|
max_age?: string | undefined;
|
|
70476
70510
|
acr_values?: string | undefined;
|
|
@@ -70502,9 +70536,9 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
70502
70536
|
auth0Client?: string | undefined;
|
|
70503
70537
|
login_ticket?: string | undefined;
|
|
70504
70538
|
screen_hint?: string | undefined;
|
|
70539
|
+
realm?: string | undefined;
|
|
70505
70540
|
ui_locales?: string | undefined;
|
|
70506
70541
|
code_challenge?: string | undefined;
|
|
70507
|
-
realm?: string | undefined;
|
|
70508
70542
|
code_challenge_method?: CodeChallengeMethod | undefined;
|
|
70509
70543
|
max_age?: string | undefined;
|
|
70510
70544
|
acr_values?: string | undefined;
|
|
@@ -70536,9 +70570,9 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
70536
70570
|
auth0Client?: string | undefined;
|
|
70537
70571
|
login_ticket?: string | undefined;
|
|
70538
70572
|
screen_hint?: string | undefined;
|
|
70573
|
+
realm?: string | undefined;
|
|
70539
70574
|
ui_locales?: string | undefined;
|
|
70540
70575
|
code_challenge?: string | undefined;
|
|
70541
|
-
realm?: string | undefined;
|
|
70542
70576
|
code_challenge_method?: CodeChallengeMethod | undefined;
|
|
70543
70577
|
max_age?: string | undefined;
|
|
70544
70578
|
acr_values?: string | undefined;
|
|
@@ -70578,9 +70612,9 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
70578
70612
|
auth0Client?: string | undefined;
|
|
70579
70613
|
login_ticket?: string | undefined;
|
|
70580
70614
|
screen_hint?: string | undefined;
|
|
70615
|
+
realm?: string | undefined;
|
|
70581
70616
|
ui_locales?: string | undefined;
|
|
70582
70617
|
code_challenge?: string | undefined;
|
|
70583
|
-
realm?: string | undefined;
|
|
70584
70618
|
code_challenge_method?: CodeChallengeMethod | undefined;
|
|
70585
70619
|
max_age?: string | undefined;
|
|
70586
70620
|
acr_values?: string | undefined;
|
|
@@ -70614,9 +70648,9 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
70614
70648
|
auth0Client?: string | undefined;
|
|
70615
70649
|
login_ticket?: string | undefined;
|
|
70616
70650
|
screen_hint?: string | undefined;
|
|
70651
|
+
realm?: string | undefined;
|
|
70617
70652
|
ui_locales?: string | undefined;
|
|
70618
70653
|
code_challenge?: string | undefined;
|
|
70619
|
-
realm?: string | undefined;
|
|
70620
70654
|
code_challenge_method?: CodeChallengeMethod | undefined;
|
|
70621
70655
|
max_age?: string | undefined;
|
|
70622
70656
|
acr_values?: string | undefined;
|
|
@@ -70686,15 +70720,15 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
70686
70720
|
client_id: string;
|
|
70687
70721
|
username: string;
|
|
70688
70722
|
otp: string;
|
|
70689
|
-
credential_type: "http://auth0.com/oauth/grant-type/passwordless/otp";
|
|
70690
70723
|
realm: "email";
|
|
70724
|
+
credential_type: "http://auth0.com/oauth/grant-type/passwordless/otp";
|
|
70691
70725
|
scope?: string | undefined;
|
|
70692
70726
|
} | {
|
|
70693
70727
|
password: string;
|
|
70694
70728
|
client_id: string;
|
|
70695
70729
|
username: string;
|
|
70696
|
-
credential_type: "http://auth0.com/oauth/grant-type/password-realm";
|
|
70697
70730
|
realm: "Username-Password-Authentication";
|
|
70731
|
+
credential_type: "http://auth0.com/oauth/grant-type/password-realm";
|
|
70698
70732
|
scope?: string | undefined;
|
|
70699
70733
|
};
|
|
70700
70734
|
};
|