authhero 5.13.0 → 5.13.1
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/authhero.cjs +103 -103
- package/dist/authhero.d.ts +205 -205
- package/dist/authhero.mjs +9358 -9346
- package/dist/stats.html +1 -1
- package/dist/tsconfig.types.tsbuildinfo +1 -1
- package/dist/types/authentication-flows/passwordless.d.ts +6 -6
- package/dist/types/helpers/service-token.d.ts +11 -1
- package/dist/types/index.d.ts +205 -205
- package/dist/types/routes/auth-api/index.d.ts +14 -14
- package/dist/types/routes/auth-api/passwordless.d.ts +12 -12
- package/dist/types/routes/management-api/connections.d.ts +16 -16
- package/dist/types/routes/management-api/index.d.ts +189 -189
- package/dist/types/routes/management-api/organizations.d.ts +1 -1
- package/dist/types/routes/universal-login/common.d.ts +8 -8
- package/dist/types/routes/universal-login/flow-api.d.ts +8 -8
- package/dist/types/routes/universal-login/identifier.d.ts +2 -2
- package/dist/types/routes/universal-login/index.d.ts +2 -2
- package/package.json +1 -1
|
@@ -288,7 +288,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
288
288
|
scope?: string | undefined;
|
|
289
289
|
grant_types?: string[] | undefined;
|
|
290
290
|
response_types?: string[] | undefined;
|
|
291
|
-
token_endpoint_auth_method?: "
|
|
291
|
+
token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | "private_key_jwt" | undefined;
|
|
292
292
|
jwks_uri?: string | undefined;
|
|
293
293
|
jwks?: Record<string, unknown> | undefined;
|
|
294
294
|
software_id?: string | undefined;
|
|
@@ -377,7 +377,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
377
377
|
scope?: string | undefined;
|
|
378
378
|
grant_types?: string[] | undefined;
|
|
379
379
|
response_types?: string[] | undefined;
|
|
380
|
-
token_endpoint_auth_method?: "
|
|
380
|
+
token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | "private_key_jwt" | undefined;
|
|
381
381
|
jwks_uri?: string | undefined;
|
|
382
382
|
jwks?: Record<string, unknown> | undefined;
|
|
383
383
|
software_id?: string | undefined;
|
|
@@ -723,19 +723,19 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
723
723
|
email: string;
|
|
724
724
|
send: "code" | "link";
|
|
725
725
|
authParams: {
|
|
726
|
+
audience?: string | undefined;
|
|
727
|
+
state?: string | undefined;
|
|
728
|
+
code_challenge?: string | undefined;
|
|
729
|
+
code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined;
|
|
730
|
+
redirect_uri?: string | undefined;
|
|
731
|
+
nonce?: string | undefined;
|
|
726
732
|
response_type?: import("@authhero/adapter-interfaces").AuthorizationResponseType | undefined;
|
|
727
733
|
response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
|
|
728
734
|
scope?: string | undefined;
|
|
729
735
|
username?: string | undefined;
|
|
730
|
-
state?: string | undefined;
|
|
731
736
|
act_as?: string | undefined;
|
|
732
|
-
redirect_uri?: string | undefined;
|
|
733
|
-
audience?: string | undefined;
|
|
734
737
|
organization?: string | undefined;
|
|
735
|
-
nonce?: string | undefined;
|
|
736
738
|
prompt?: string | undefined;
|
|
737
|
-
code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined;
|
|
738
|
-
code_challenge?: string | undefined;
|
|
739
739
|
ui_locales?: string | undefined;
|
|
740
740
|
max_age?: number | undefined;
|
|
741
741
|
acr_values?: string | undefined;
|
|
@@ -759,19 +759,19 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
759
759
|
phone_number: string;
|
|
760
760
|
send: "code" | "link";
|
|
761
761
|
authParams: {
|
|
762
|
+
audience?: string | undefined;
|
|
763
|
+
state?: string | undefined;
|
|
764
|
+
code_challenge?: string | undefined;
|
|
765
|
+
code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined;
|
|
766
|
+
redirect_uri?: string | undefined;
|
|
767
|
+
nonce?: string | undefined;
|
|
762
768
|
response_type?: import("@authhero/adapter-interfaces").AuthorizationResponseType | undefined;
|
|
763
769
|
response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
|
|
764
770
|
scope?: string | undefined;
|
|
765
771
|
username?: string | undefined;
|
|
766
|
-
state?: string | undefined;
|
|
767
772
|
act_as?: string | undefined;
|
|
768
|
-
redirect_uri?: string | undefined;
|
|
769
|
-
audience?: string | undefined;
|
|
770
773
|
organization?: string | undefined;
|
|
771
|
-
nonce?: string | undefined;
|
|
772
774
|
prompt?: string | undefined;
|
|
773
|
-
code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined;
|
|
774
|
-
code_challenge?: string | undefined;
|
|
775
775
|
ui_locales?: string | undefined;
|
|
776
776
|
max_age?: number | undefined;
|
|
777
777
|
acr_values?: string | undefined;
|
|
@@ -14,19 +14,19 @@ export declare const passwordlessRoutes: OpenAPIHono<{
|
|
|
14
14
|
email: string;
|
|
15
15
|
send: "code" | "link";
|
|
16
16
|
authParams: {
|
|
17
|
+
audience?: string | undefined;
|
|
18
|
+
state?: string | undefined;
|
|
19
|
+
code_challenge?: string | undefined;
|
|
20
|
+
code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined;
|
|
21
|
+
redirect_uri?: string | undefined;
|
|
22
|
+
nonce?: string | undefined;
|
|
17
23
|
response_type?: AuthorizationResponseType | undefined;
|
|
18
24
|
response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
|
|
19
25
|
scope?: string | undefined;
|
|
20
26
|
username?: string | undefined;
|
|
21
|
-
state?: string | undefined;
|
|
22
27
|
act_as?: string | undefined;
|
|
23
|
-
redirect_uri?: string | undefined;
|
|
24
|
-
audience?: string | undefined;
|
|
25
28
|
organization?: string | undefined;
|
|
26
|
-
nonce?: string | undefined;
|
|
27
29
|
prompt?: string | undefined;
|
|
28
|
-
code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined;
|
|
29
|
-
code_challenge?: string | undefined;
|
|
30
30
|
ui_locales?: string | undefined;
|
|
31
31
|
max_age?: number | undefined;
|
|
32
32
|
acr_values?: string | undefined;
|
|
@@ -50,19 +50,19 @@ export declare const passwordlessRoutes: OpenAPIHono<{
|
|
|
50
50
|
phone_number: string;
|
|
51
51
|
send: "code" | "link";
|
|
52
52
|
authParams: {
|
|
53
|
+
audience?: string | undefined;
|
|
54
|
+
state?: string | undefined;
|
|
55
|
+
code_challenge?: string | undefined;
|
|
56
|
+
code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined;
|
|
57
|
+
redirect_uri?: string | undefined;
|
|
58
|
+
nonce?: string | undefined;
|
|
53
59
|
response_type?: AuthorizationResponseType | undefined;
|
|
54
60
|
response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
|
|
55
61
|
scope?: string | undefined;
|
|
56
62
|
username?: string | undefined;
|
|
57
|
-
state?: string | undefined;
|
|
58
63
|
act_as?: string | undefined;
|
|
59
|
-
redirect_uri?: string | undefined;
|
|
60
|
-
audience?: string | undefined;
|
|
61
64
|
organization?: string | undefined;
|
|
62
|
-
nonce?: string | undefined;
|
|
63
65
|
prompt?: string | undefined;
|
|
64
|
-
code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined;
|
|
65
|
-
code_challenge?: string | undefined;
|
|
66
66
|
ui_locales?: string | undefined;
|
|
67
67
|
max_age?: number | undefined;
|
|
68
68
|
acr_values?: string | undefined;
|
|
@@ -82,7 +82,7 @@ export declare const connectionRoutes: OpenAPIHono<{
|
|
|
82
82
|
active?: boolean | undefined;
|
|
83
83
|
} | undefined;
|
|
84
84
|
signup?: {
|
|
85
|
-
status?: "optional" | "
|
|
85
|
+
status?: "optional" | "required" | "disabled" | undefined;
|
|
86
86
|
verification?: {
|
|
87
87
|
active?: boolean | undefined;
|
|
88
88
|
} | undefined;
|
|
@@ -99,7 +99,7 @@ export declare const connectionRoutes: OpenAPIHono<{
|
|
|
99
99
|
active?: boolean | undefined;
|
|
100
100
|
} | undefined;
|
|
101
101
|
signup?: {
|
|
102
|
-
status?: "optional" | "
|
|
102
|
+
status?: "optional" | "required" | "disabled" | undefined;
|
|
103
103
|
} | undefined;
|
|
104
104
|
validation?: {
|
|
105
105
|
max_length?: number | undefined;
|
|
@@ -116,7 +116,7 @@ export declare const connectionRoutes: OpenAPIHono<{
|
|
|
116
116
|
active?: boolean | undefined;
|
|
117
117
|
} | undefined;
|
|
118
118
|
signup?: {
|
|
119
|
-
status?: "optional" | "
|
|
119
|
+
status?: "optional" | "required" | "disabled" | undefined;
|
|
120
120
|
} | undefined;
|
|
121
121
|
} | undefined;
|
|
122
122
|
} | undefined;
|
|
@@ -216,7 +216,7 @@ export declare const connectionRoutes: OpenAPIHono<{
|
|
|
216
216
|
active?: boolean | undefined;
|
|
217
217
|
} | undefined;
|
|
218
218
|
signup?: {
|
|
219
|
-
status?: "optional" | "
|
|
219
|
+
status?: "optional" | "required" | "disabled" | undefined;
|
|
220
220
|
verification?: {
|
|
221
221
|
active?: boolean | undefined;
|
|
222
222
|
} | undefined;
|
|
@@ -233,7 +233,7 @@ export declare const connectionRoutes: OpenAPIHono<{
|
|
|
233
233
|
active?: boolean | undefined;
|
|
234
234
|
} | undefined;
|
|
235
235
|
signup?: {
|
|
236
|
-
status?: "optional" | "
|
|
236
|
+
status?: "optional" | "required" | "disabled" | undefined;
|
|
237
237
|
} | undefined;
|
|
238
238
|
validation?: {
|
|
239
239
|
max_length?: number | undefined;
|
|
@@ -250,7 +250,7 @@ export declare const connectionRoutes: OpenAPIHono<{
|
|
|
250
250
|
active?: boolean | undefined;
|
|
251
251
|
} | undefined;
|
|
252
252
|
signup?: {
|
|
253
|
-
status?: "optional" | "
|
|
253
|
+
status?: "optional" | "required" | "disabled" | undefined;
|
|
254
254
|
} | undefined;
|
|
255
255
|
} | undefined;
|
|
256
256
|
} | undefined;
|
|
@@ -365,7 +365,7 @@ export declare const connectionRoutes: OpenAPIHono<{
|
|
|
365
365
|
active?: boolean | undefined;
|
|
366
366
|
} | undefined;
|
|
367
367
|
signup?: {
|
|
368
|
-
status?: "optional" | "
|
|
368
|
+
status?: "optional" | "required" | "disabled" | undefined;
|
|
369
369
|
verification?: {
|
|
370
370
|
active?: boolean | undefined;
|
|
371
371
|
} | undefined;
|
|
@@ -382,7 +382,7 @@ export declare const connectionRoutes: OpenAPIHono<{
|
|
|
382
382
|
active?: boolean | undefined;
|
|
383
383
|
} | undefined;
|
|
384
384
|
signup?: {
|
|
385
|
-
status?: "optional" | "
|
|
385
|
+
status?: "optional" | "required" | "disabled" | undefined;
|
|
386
386
|
} | undefined;
|
|
387
387
|
validation?: {
|
|
388
388
|
max_length?: number | undefined;
|
|
@@ -399,7 +399,7 @@ export declare const connectionRoutes: OpenAPIHono<{
|
|
|
399
399
|
active?: boolean | undefined;
|
|
400
400
|
} | undefined;
|
|
401
401
|
signup?: {
|
|
402
|
-
status?: "optional" | "
|
|
402
|
+
status?: "optional" | "required" | "disabled" | undefined;
|
|
403
403
|
} | undefined;
|
|
404
404
|
} | undefined;
|
|
405
405
|
} | undefined;
|
|
@@ -544,7 +544,7 @@ export declare const connectionRoutes: OpenAPIHono<{
|
|
|
544
544
|
active?: boolean | undefined;
|
|
545
545
|
} | undefined;
|
|
546
546
|
signup?: {
|
|
547
|
-
status?: "optional" | "
|
|
547
|
+
status?: "optional" | "required" | "disabled" | undefined;
|
|
548
548
|
verification?: {
|
|
549
549
|
active?: boolean | undefined;
|
|
550
550
|
} | undefined;
|
|
@@ -561,7 +561,7 @@ export declare const connectionRoutes: OpenAPIHono<{
|
|
|
561
561
|
active?: boolean | undefined;
|
|
562
562
|
} | undefined;
|
|
563
563
|
signup?: {
|
|
564
|
-
status?: "optional" | "
|
|
564
|
+
status?: "optional" | "required" | "disabled" | undefined;
|
|
565
565
|
} | undefined;
|
|
566
566
|
validation?: {
|
|
567
567
|
max_length?: number | undefined;
|
|
@@ -578,7 +578,7 @@ export declare const connectionRoutes: OpenAPIHono<{
|
|
|
578
578
|
active?: boolean | undefined;
|
|
579
579
|
} | undefined;
|
|
580
580
|
signup?: {
|
|
581
|
-
status?: "optional" | "
|
|
581
|
+
status?: "optional" | "required" | "disabled" | undefined;
|
|
582
582
|
} | undefined;
|
|
583
583
|
} | undefined;
|
|
584
584
|
} | undefined;
|
|
@@ -702,7 +702,7 @@ export declare const connectionRoutes: OpenAPIHono<{
|
|
|
702
702
|
active?: boolean | undefined;
|
|
703
703
|
} | undefined;
|
|
704
704
|
signup?: {
|
|
705
|
-
status?: "optional" | "
|
|
705
|
+
status?: "optional" | "required" | "disabled" | undefined;
|
|
706
706
|
verification?: {
|
|
707
707
|
active?: boolean | undefined;
|
|
708
708
|
} | undefined;
|
|
@@ -719,7 +719,7 @@ export declare const connectionRoutes: OpenAPIHono<{
|
|
|
719
719
|
active?: boolean | undefined;
|
|
720
720
|
} | undefined;
|
|
721
721
|
signup?: {
|
|
722
|
-
status?: "optional" | "
|
|
722
|
+
status?: "optional" | "required" | "disabled" | undefined;
|
|
723
723
|
} | undefined;
|
|
724
724
|
validation?: {
|
|
725
725
|
max_length?: number | undefined;
|
|
@@ -736,7 +736,7 @@ export declare const connectionRoutes: OpenAPIHono<{
|
|
|
736
736
|
active?: boolean | undefined;
|
|
737
737
|
} | undefined;
|
|
738
738
|
signup?: {
|
|
739
|
-
status?: "optional" | "
|
|
739
|
+
status?: "optional" | "required" | "disabled" | undefined;
|
|
740
740
|
} | undefined;
|
|
741
741
|
} | undefined;
|
|
742
742
|
} | undefined;
|
|
@@ -852,7 +852,7 @@ export declare const connectionRoutes: OpenAPIHono<{
|
|
|
852
852
|
};
|
|
853
853
|
} | {
|
|
854
854
|
mode: "inline";
|
|
855
|
-
status: "
|
|
855
|
+
status: "success" | "error";
|
|
856
856
|
connection_id: string;
|
|
857
857
|
connection_name: string;
|
|
858
858
|
strategy: string;
|