authhero 5.10.0 → 5.12.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/js/client.js +33 -1
- package/dist/assets/u/widget/authhero-widget.esm.js +1 -1
- package/dist/assets/u/widget/index.esm.js +1 -1
- package/dist/assets/u/widget/p-FUW5zvoZ.js +2 -0
- package/dist/assets/u/widget/{p-e91b632f.entry.js → p-aa120307.entry.js} +1 -1
- package/dist/assets/u/widget/{p-f63fd386.entry.js → p-f0f9eca3.entry.js} +1 -1
- package/dist/authhero.cjs +229 -212
- package/dist/authhero.css +2 -1
- package/dist/authhero.d.ts +142 -90
- package/dist/authhero.mjs +80357 -82256
- package/dist/client.js +33 -1
- package/dist/passkey-enrollment-DKWsGt-K.js +1 -0
- package/dist/passkey-enrollment-Dw1ObR65.mjs +26 -0
- package/dist/stats.html +1 -1
- package/dist/tsconfig.types.tsbuildinfo +1 -1
- package/dist/types/authentication-flows/passwordless.d.ts +3 -3
- package/dist/types/client/client-bundle.d.ts +1 -1
- package/dist/types/email-services/mailgun.d.ts +1 -0
- package/dist/types/helpers/dcr/metadata-mapping.d.ts +1 -1
- package/dist/types/helpers/service-token.d.ts +21 -0
- package/dist/types/helpers/users.d.ts +28 -0
- package/dist/types/hooks/helpers/token-api.d.ts +7 -0
- package/dist/types/index.d.ts +126 -90
- package/dist/types/routes/auth-api/authorize.d.ts +14 -14
- package/dist/types/routes/auth-api/index.d.ts +34 -34
- package/dist/types/routes/auth-api/passwordless.d.ts +6 -6
- package/dist/types/routes/auth-api/register/index.d.ts +2 -2
- package/dist/types/routes/auth-api/revoke.d.ts +6 -6
- package/dist/types/routes/auth-api/token.d.ts +10 -10
- package/dist/types/routes/management-api/authentication-methods.d.ts +1 -1
- package/dist/types/routes/management-api/client-grants.d.ts +8 -8
- package/dist/types/routes/management-api/clients.d.ts +7 -7
- package/dist/types/routes/management-api/guardian.d.ts +5 -5
- package/dist/types/routes/management-api/index.d.ts +70 -34
- package/dist/types/routes/management-api/logs.d.ts +3 -3
- package/dist/types/routes/management-api/organizations.d.ts +40 -4
- package/dist/types/routes/management-api/prompts.d.ts +4 -4
- package/dist/types/routes/management-api/proxy-routes.d.ts +221 -0
- package/dist/types/routes/management-api/users.d.ts +2 -2
- package/dist/types/routes/proxy-control-plane/index.d.ts +22 -0
- package/dist/types/routes/universal-login/common.d.ts +2 -2
- package/dist/types/types/AuthHeroConfig.d.ts +14 -0
- package/dist/types/types/IdToken.d.ts +1 -1
- package/package.json +25 -24
- package/dist/assets/u/widget/p-BFP_5sHV.js +0 -2
- package/dist/passkey-enrollment-D0dl7raT.mjs +0 -42
- package/dist/passkey-enrollment-dbZd6Zqw.js +0 -1
|
@@ -71,17 +71,9 @@ export declare const authorizeRoutes: OpenAPIHono<{
|
|
|
71
71
|
request_uri?: string | undefined;
|
|
72
72
|
};
|
|
73
73
|
};
|
|
74
|
-
output:
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
expires_in: number;
|
|
78
|
-
id_token?: string | undefined;
|
|
79
|
-
scope?: string | undefined;
|
|
80
|
-
state?: string | undefined;
|
|
81
|
-
refresh_token?: string | undefined;
|
|
82
|
-
};
|
|
83
|
-
outputFormat: "json";
|
|
84
|
-
status: 200;
|
|
74
|
+
output: {};
|
|
75
|
+
outputFormat: string;
|
|
76
|
+
status: 302;
|
|
85
77
|
} | {
|
|
86
78
|
input: {
|
|
87
79
|
query: {
|
|
@@ -113,9 +105,17 @@ export declare const authorizeRoutes: OpenAPIHono<{
|
|
|
113
105
|
request_uri?: string | undefined;
|
|
114
106
|
};
|
|
115
107
|
};
|
|
116
|
-
output: {
|
|
117
|
-
|
|
118
|
-
|
|
108
|
+
output: string | {
|
|
109
|
+
access_token: string;
|
|
110
|
+
token_type: string;
|
|
111
|
+
expires_in: number;
|
|
112
|
+
id_token?: string | undefined;
|
|
113
|
+
scope?: string | undefined;
|
|
114
|
+
state?: string | undefined;
|
|
115
|
+
refresh_token?: string | undefined;
|
|
116
|
+
};
|
|
117
|
+
outputFormat: "json";
|
|
118
|
+
status: 200;
|
|
119
119
|
} | {
|
|
120
120
|
input: {
|
|
121
121
|
query: {
|
|
@@ -434,7 +434,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
434
434
|
client_id: string;
|
|
435
435
|
redirect_url?: string | undefined;
|
|
436
436
|
login_hint?: string | undefined;
|
|
437
|
-
screen_hint?: "
|
|
437
|
+
screen_hint?: "change-email" | "account" | "change-phone" | "change-password" | undefined;
|
|
438
438
|
};
|
|
439
439
|
};
|
|
440
440
|
output: {};
|
|
@@ -446,7 +446,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
446
446
|
client_id: string;
|
|
447
447
|
redirect_url?: string | undefined;
|
|
448
448
|
login_hint?: string | undefined;
|
|
449
|
-
screen_hint?: "
|
|
449
|
+
screen_hint?: "change-email" | "account" | "change-phone" | "change-password" | undefined;
|
|
450
450
|
};
|
|
451
451
|
};
|
|
452
452
|
output: {
|
|
@@ -523,17 +523,9 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
523
523
|
request_uri?: string | undefined;
|
|
524
524
|
};
|
|
525
525
|
};
|
|
526
|
-
output:
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
expires_in: number;
|
|
530
|
-
id_token?: string | undefined;
|
|
531
|
-
scope?: string | undefined;
|
|
532
|
-
state?: string | undefined;
|
|
533
|
-
refresh_token?: string | undefined;
|
|
534
|
-
};
|
|
535
|
-
outputFormat: "json";
|
|
536
|
-
status: 200;
|
|
526
|
+
output: {};
|
|
527
|
+
outputFormat: string;
|
|
528
|
+
status: 302;
|
|
537
529
|
} | {
|
|
538
530
|
input: {
|
|
539
531
|
query: {
|
|
@@ -565,9 +557,17 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
565
557
|
request_uri?: string | undefined;
|
|
566
558
|
};
|
|
567
559
|
};
|
|
568
|
-
output: {
|
|
569
|
-
|
|
570
|
-
|
|
560
|
+
output: string | {
|
|
561
|
+
access_token: string;
|
|
562
|
+
token_type: string;
|
|
563
|
+
expires_in: number;
|
|
564
|
+
id_token?: string | undefined;
|
|
565
|
+
scope?: string | undefined;
|
|
566
|
+
state?: string | undefined;
|
|
567
|
+
refresh_token?: string | undefined;
|
|
568
|
+
};
|
|
569
|
+
outputFormat: "json";
|
|
570
|
+
status: 200;
|
|
571
571
|
} | {
|
|
572
572
|
input: {
|
|
573
573
|
query: {
|
|
@@ -723,19 +723,19 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
723
723
|
email: string;
|
|
724
724
|
send: "code" | "link";
|
|
725
725
|
authParams: {
|
|
726
|
-
code_challenge?: string | undefined;
|
|
727
|
-
code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined;
|
|
728
|
-
redirect_uri?: string | undefined;
|
|
729
|
-
nonce?: string | undefined;
|
|
730
|
-
state?: string | undefined;
|
|
731
|
-
act_as?: string | undefined;
|
|
732
726
|
response_type?: import("@authhero/adapter-interfaces").AuthorizationResponseType | undefined;
|
|
733
727
|
response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
|
|
728
|
+
scope?: string | undefined;
|
|
729
|
+
username?: string | undefined;
|
|
734
730
|
audience?: string | undefined;
|
|
731
|
+
state?: string | undefined;
|
|
735
732
|
organization?: string | undefined;
|
|
736
|
-
|
|
733
|
+
nonce?: string | undefined;
|
|
734
|
+
redirect_uri?: string | undefined;
|
|
735
|
+
act_as?: string | undefined;
|
|
737
736
|
prompt?: string | undefined;
|
|
738
|
-
|
|
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
|
-
code_challenge?: string | undefined;
|
|
763
|
-
code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined;
|
|
764
|
-
redirect_uri?: string | undefined;
|
|
765
|
-
nonce?: string | undefined;
|
|
766
|
-
state?: string | undefined;
|
|
767
|
-
act_as?: string | undefined;
|
|
768
762
|
response_type?: import("@authhero/adapter-interfaces").AuthorizationResponseType | undefined;
|
|
769
763
|
response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
|
|
764
|
+
scope?: string | undefined;
|
|
765
|
+
username?: string | undefined;
|
|
770
766
|
audience?: string | undefined;
|
|
767
|
+
state?: string | undefined;
|
|
771
768
|
organization?: string | undefined;
|
|
772
|
-
|
|
769
|
+
nonce?: string | undefined;
|
|
770
|
+
redirect_uri?: string | undefined;
|
|
771
|
+
act_as?: string | undefined;
|
|
773
772
|
prompt?: string | undefined;
|
|
774
|
-
|
|
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;
|
|
@@ -1532,7 +1532,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
1532
1532
|
};
|
|
1533
1533
|
output: {};
|
|
1534
1534
|
outputFormat: string;
|
|
1535
|
-
status:
|
|
1535
|
+
status: 200;
|
|
1536
1536
|
} | {
|
|
1537
1537
|
input: {
|
|
1538
1538
|
query: {
|
|
@@ -1546,7 +1546,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
1546
1546
|
};
|
|
1547
1547
|
output: {};
|
|
1548
1548
|
outputFormat: string;
|
|
1549
|
-
status:
|
|
1549
|
+
status: 302;
|
|
1550
1550
|
} | {
|
|
1551
1551
|
input: {
|
|
1552
1552
|
query: {
|
|
@@ -14,16 +14,16 @@ export declare const passwordlessRoutes: OpenAPIHono<{
|
|
|
14
14
|
email: string;
|
|
15
15
|
send: "code" | "link";
|
|
16
16
|
authParams: {
|
|
17
|
-
state?: string | undefined;
|
|
18
|
-
audience?: string | undefined;
|
|
19
17
|
response_type?: AuthorizationResponseType | undefined;
|
|
20
18
|
response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
|
|
21
19
|
scope?: string | undefined;
|
|
22
20
|
username?: string | undefined;
|
|
21
|
+
audience?: string | undefined;
|
|
22
|
+
state?: string | undefined;
|
|
23
23
|
organization?: string | undefined;
|
|
24
24
|
nonce?: string | undefined;
|
|
25
|
-
act_as?: string | undefined;
|
|
26
25
|
redirect_uri?: string | undefined;
|
|
26
|
+
act_as?: string | undefined;
|
|
27
27
|
prompt?: string | undefined;
|
|
28
28
|
code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined;
|
|
29
29
|
code_challenge?: string | undefined;
|
|
@@ -50,16 +50,16 @@ export declare const passwordlessRoutes: OpenAPIHono<{
|
|
|
50
50
|
phone_number: string;
|
|
51
51
|
send: "code" | "link";
|
|
52
52
|
authParams: {
|
|
53
|
-
state?: string | undefined;
|
|
54
|
-
audience?: string | undefined;
|
|
55
53
|
response_type?: AuthorizationResponseType | undefined;
|
|
56
54
|
response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
|
|
57
55
|
scope?: string | undefined;
|
|
58
56
|
username?: string | undefined;
|
|
57
|
+
audience?: string | undefined;
|
|
58
|
+
state?: string | undefined;
|
|
59
59
|
organization?: string | undefined;
|
|
60
60
|
nonce?: string | undefined;
|
|
61
|
-
act_as?: string | undefined;
|
|
62
61
|
redirect_uri?: string | undefined;
|
|
62
|
+
act_as?: string | undefined;
|
|
63
63
|
prompt?: string | undefined;
|
|
64
64
|
code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined;
|
|
65
65
|
code_challenge?: string | undefined;
|
|
@@ -18,7 +18,7 @@ export declare const registerRoutes: OpenAPIHono<{
|
|
|
18
18
|
scope?: string | undefined;
|
|
19
19
|
grant_types?: string[] | undefined;
|
|
20
20
|
response_types?: string[] | undefined;
|
|
21
|
-
token_endpoint_auth_method?: "
|
|
21
|
+
token_endpoint_auth_method?: "client_secret_post" | "client_secret_basic" | "none" | "client_secret_jwt" | "private_key_jwt" | undefined;
|
|
22
22
|
jwks_uri?: string | undefined;
|
|
23
23
|
jwks?: Record<string, unknown> | undefined;
|
|
24
24
|
software_id?: string | undefined;
|
|
@@ -107,7 +107,7 @@ export declare const registerRoutes: OpenAPIHono<{
|
|
|
107
107
|
scope?: string | undefined;
|
|
108
108
|
grant_types?: string[] | undefined;
|
|
109
109
|
response_types?: string[] | undefined;
|
|
110
|
-
token_endpoint_auth_method?: "
|
|
110
|
+
token_endpoint_auth_method?: "client_secret_post" | "client_secret_basic" | "none" | "client_secret_jwt" | "private_key_jwt" | undefined;
|
|
111
111
|
jwks_uri?: string | undefined;
|
|
112
112
|
jwks?: Record<string, unknown> | undefined;
|
|
113
113
|
software_id?: string | undefined;
|
|
@@ -9,14 +9,14 @@ export declare const revokeRoutes: OpenAPIHono<{
|
|
|
9
9
|
input: {
|
|
10
10
|
form: {
|
|
11
11
|
token: string;
|
|
12
|
-
token_type_hint?: "
|
|
12
|
+
token_type_hint?: "access_token" | "refresh_token" | undefined;
|
|
13
13
|
client_id?: string | undefined;
|
|
14
14
|
client_secret?: string | undefined;
|
|
15
15
|
};
|
|
16
16
|
} & {
|
|
17
17
|
json: {
|
|
18
18
|
token: string;
|
|
19
|
-
token_type_hint?: "
|
|
19
|
+
token_type_hint?: "access_token" | "refresh_token" | undefined;
|
|
20
20
|
client_id?: string | undefined;
|
|
21
21
|
client_secret?: string | undefined;
|
|
22
22
|
};
|
|
@@ -28,14 +28,14 @@ export declare const revokeRoutes: OpenAPIHono<{
|
|
|
28
28
|
input: {
|
|
29
29
|
form: {
|
|
30
30
|
token: string;
|
|
31
|
-
token_type_hint?: "
|
|
31
|
+
token_type_hint?: "access_token" | "refresh_token" | undefined;
|
|
32
32
|
client_id?: string | undefined;
|
|
33
33
|
client_secret?: string | undefined;
|
|
34
34
|
};
|
|
35
35
|
} & {
|
|
36
36
|
json: {
|
|
37
37
|
token: string;
|
|
38
|
-
token_type_hint?: "
|
|
38
|
+
token_type_hint?: "access_token" | "refresh_token" | undefined;
|
|
39
39
|
client_id?: string | undefined;
|
|
40
40
|
client_secret?: string | undefined;
|
|
41
41
|
};
|
|
@@ -50,14 +50,14 @@ export declare const revokeRoutes: OpenAPIHono<{
|
|
|
50
50
|
input: {
|
|
51
51
|
form: {
|
|
52
52
|
token: string;
|
|
53
|
-
token_type_hint?: "
|
|
53
|
+
token_type_hint?: "access_token" | "refresh_token" | undefined;
|
|
54
54
|
client_id?: string | undefined;
|
|
55
55
|
client_secret?: string | undefined;
|
|
56
56
|
};
|
|
57
57
|
} & {
|
|
58
58
|
json: {
|
|
59
59
|
token: string;
|
|
60
|
-
token_type_hint?: "
|
|
60
|
+
token_type_hint?: "access_token" | "refresh_token" | undefined;
|
|
61
61
|
client_id?: string | undefined;
|
|
62
62
|
client_secret?: string | undefined;
|
|
63
63
|
};
|
|
@@ -40,7 +40,7 @@ export declare const tokenRoutes: OpenAPIHono<{
|
|
|
40
40
|
client_id: string;
|
|
41
41
|
username: string;
|
|
42
42
|
otp: string;
|
|
43
|
-
realm: "
|
|
43
|
+
realm: "email" | "sms";
|
|
44
44
|
};
|
|
45
45
|
} & {
|
|
46
46
|
json: {
|
|
@@ -76,7 +76,7 @@ export declare const tokenRoutes: OpenAPIHono<{
|
|
|
76
76
|
client_id: string;
|
|
77
77
|
username: string;
|
|
78
78
|
otp: string;
|
|
79
|
-
realm: "
|
|
79
|
+
realm: "email" | "sms";
|
|
80
80
|
};
|
|
81
81
|
};
|
|
82
82
|
output: {};
|
|
@@ -117,7 +117,7 @@ export declare const tokenRoutes: OpenAPIHono<{
|
|
|
117
117
|
client_id: string;
|
|
118
118
|
username: string;
|
|
119
119
|
otp: string;
|
|
120
|
-
realm: "
|
|
120
|
+
realm: "email" | "sms";
|
|
121
121
|
};
|
|
122
122
|
} & {
|
|
123
123
|
json: {
|
|
@@ -153,7 +153,7 @@ export declare const tokenRoutes: OpenAPIHono<{
|
|
|
153
153
|
client_id: string;
|
|
154
154
|
username: string;
|
|
155
155
|
otp: string;
|
|
156
|
-
realm: "
|
|
156
|
+
realm: "email" | "sms";
|
|
157
157
|
};
|
|
158
158
|
};
|
|
159
159
|
output: {
|
|
@@ -202,7 +202,7 @@ export declare const tokenRoutes: OpenAPIHono<{
|
|
|
202
202
|
client_id: string;
|
|
203
203
|
username: string;
|
|
204
204
|
otp: string;
|
|
205
|
-
realm: "
|
|
205
|
+
realm: "email" | "sms";
|
|
206
206
|
};
|
|
207
207
|
} & {
|
|
208
208
|
json: {
|
|
@@ -238,7 +238,7 @@ export declare const tokenRoutes: OpenAPIHono<{
|
|
|
238
238
|
client_id: string;
|
|
239
239
|
username: string;
|
|
240
240
|
otp: string;
|
|
241
|
-
realm: "
|
|
241
|
+
realm: "email" | "sms";
|
|
242
242
|
};
|
|
243
243
|
};
|
|
244
244
|
output: {
|
|
@@ -282,7 +282,7 @@ export declare const tokenRoutes: OpenAPIHono<{
|
|
|
282
282
|
client_id: string;
|
|
283
283
|
username: string;
|
|
284
284
|
otp: string;
|
|
285
|
-
realm: "
|
|
285
|
+
realm: "email" | "sms";
|
|
286
286
|
};
|
|
287
287
|
} & {
|
|
288
288
|
json: {
|
|
@@ -318,7 +318,7 @@ export declare const tokenRoutes: OpenAPIHono<{
|
|
|
318
318
|
client_id: string;
|
|
319
319
|
username: string;
|
|
320
320
|
otp: string;
|
|
321
|
-
realm: "
|
|
321
|
+
realm: "email" | "sms";
|
|
322
322
|
};
|
|
323
323
|
};
|
|
324
324
|
output: {
|
|
@@ -362,7 +362,7 @@ export declare const tokenRoutes: OpenAPIHono<{
|
|
|
362
362
|
client_id: string;
|
|
363
363
|
username: string;
|
|
364
364
|
otp: string;
|
|
365
|
-
realm: "
|
|
365
|
+
realm: "email" | "sms";
|
|
366
366
|
};
|
|
367
367
|
} & {
|
|
368
368
|
json: {
|
|
@@ -398,7 +398,7 @@ export declare const tokenRoutes: OpenAPIHono<{
|
|
|
398
398
|
client_id: string;
|
|
399
399
|
username: string;
|
|
400
400
|
otp: string;
|
|
401
|
-
realm: "
|
|
401
|
+
realm: "email" | "sms";
|
|
402
402
|
};
|
|
403
403
|
};
|
|
404
404
|
output: {
|
|
@@ -37,7 +37,7 @@ export declare const authenticationMethodsRoutes: OpenAPIHono<{
|
|
|
37
37
|
};
|
|
38
38
|
} & {
|
|
39
39
|
json: {
|
|
40
|
-
type: "
|
|
40
|
+
type: "email" | "passkey" | "push" | "phone" | "totp" | "webauthn-roaming" | "webauthn-platform";
|
|
41
41
|
phone_number?: string | undefined;
|
|
42
42
|
totp_secret?: string | undefined;
|
|
43
43
|
credential_id?: string | undefined;
|
|
@@ -16,7 +16,7 @@ export declare const clientGrantRoutes: OpenAPIHono<{
|
|
|
16
16
|
audience?: string | undefined;
|
|
17
17
|
client_id?: string | undefined;
|
|
18
18
|
allow_any_organization?: string | undefined;
|
|
19
|
-
subject_type?: "
|
|
19
|
+
subject_type?: "client" | "user" | undefined;
|
|
20
20
|
};
|
|
21
21
|
} & {
|
|
22
22
|
header: {
|
|
@@ -31,7 +31,7 @@ export declare const clientGrantRoutes: OpenAPIHono<{
|
|
|
31
31
|
organization_usage?: "deny" | "allow" | "require" | undefined;
|
|
32
32
|
allow_any_organization?: boolean | undefined;
|
|
33
33
|
is_system?: boolean | undefined;
|
|
34
|
-
subject_type?: "
|
|
34
|
+
subject_type?: "client" | "user" | undefined;
|
|
35
35
|
authorization_details_types?: string[] | undefined;
|
|
36
36
|
created_at?: string | undefined;
|
|
37
37
|
updated_at?: string | undefined;
|
|
@@ -47,7 +47,7 @@ export declare const clientGrantRoutes: OpenAPIHono<{
|
|
|
47
47
|
organization_usage?: "deny" | "allow" | "require" | undefined;
|
|
48
48
|
allow_any_organization?: boolean | undefined;
|
|
49
49
|
is_system?: boolean | undefined;
|
|
50
|
-
subject_type?: "
|
|
50
|
+
subject_type?: "client" | "user" | undefined;
|
|
51
51
|
authorization_details_types?: string[] | undefined;
|
|
52
52
|
created_at?: string | undefined;
|
|
53
53
|
updated_at?: string | undefined;
|
|
@@ -78,7 +78,7 @@ export declare const clientGrantRoutes: OpenAPIHono<{
|
|
|
78
78
|
organization_usage?: "deny" | "allow" | "require" | undefined;
|
|
79
79
|
allow_any_organization?: boolean | undefined;
|
|
80
80
|
is_system?: boolean | undefined;
|
|
81
|
-
subject_type?: "
|
|
81
|
+
subject_type?: "client" | "user" | undefined;
|
|
82
82
|
authorization_details_types?: string[] | undefined;
|
|
83
83
|
created_at?: string | undefined;
|
|
84
84
|
updated_at?: string | undefined;
|
|
@@ -123,7 +123,7 @@ export declare const clientGrantRoutes: OpenAPIHono<{
|
|
|
123
123
|
organization_usage?: "deny" | "allow" | "require" | undefined;
|
|
124
124
|
allow_any_organization?: boolean | undefined;
|
|
125
125
|
is_system?: boolean | undefined;
|
|
126
|
-
subject_type?: "
|
|
126
|
+
subject_type?: "client" | "user" | undefined;
|
|
127
127
|
authorization_details_types?: string[] | undefined;
|
|
128
128
|
};
|
|
129
129
|
};
|
|
@@ -135,7 +135,7 @@ export declare const clientGrantRoutes: OpenAPIHono<{
|
|
|
135
135
|
organization_usage?: "deny" | "allow" | "require" | undefined;
|
|
136
136
|
allow_any_organization?: boolean | undefined;
|
|
137
137
|
is_system?: boolean | undefined;
|
|
138
|
-
subject_type?: "
|
|
138
|
+
subject_type?: "client" | "user" | undefined;
|
|
139
139
|
authorization_details_types?: string[] | undefined;
|
|
140
140
|
created_at?: string | undefined;
|
|
141
141
|
updated_at?: string | undefined;
|
|
@@ -159,7 +159,7 @@ export declare const clientGrantRoutes: OpenAPIHono<{
|
|
|
159
159
|
organization_usage?: "deny" | "allow" | "require" | undefined;
|
|
160
160
|
allow_any_organization?: boolean | undefined;
|
|
161
161
|
is_system?: boolean | undefined;
|
|
162
|
-
subject_type?: "
|
|
162
|
+
subject_type?: "client" | "user" | undefined;
|
|
163
163
|
authorization_details_types?: string[] | undefined;
|
|
164
164
|
};
|
|
165
165
|
};
|
|
@@ -171,7 +171,7 @@ export declare const clientGrantRoutes: OpenAPIHono<{
|
|
|
171
171
|
organization_usage?: "deny" | "allow" | "require" | undefined;
|
|
172
172
|
allow_any_organization?: boolean | undefined;
|
|
173
173
|
is_system?: boolean | undefined;
|
|
174
|
-
subject_type?: "
|
|
174
|
+
subject_type?: "client" | "user" | undefined;
|
|
175
175
|
authorization_details_types?: string[] | undefined;
|
|
176
176
|
created_at?: string | undefined;
|
|
177
177
|
updated_at?: string | undefined;
|
|
@@ -72,7 +72,7 @@ export declare const clientRoutes: OpenAPIHono<{
|
|
|
72
72
|
addons?: {
|
|
73
73
|
[x: string]: any;
|
|
74
74
|
} | undefined;
|
|
75
|
-
token_endpoint_auth_method?: "
|
|
75
|
+
token_endpoint_auth_method?: "client_secret_post" | "client_secret_basic" | "none" | "client_secret_jwt" | "private_key_jwt" | undefined;
|
|
76
76
|
client_metadata?: {
|
|
77
77
|
[x: string]: string;
|
|
78
78
|
} | undefined;
|
|
@@ -168,7 +168,7 @@ export declare const clientRoutes: OpenAPIHono<{
|
|
|
168
168
|
addons?: {
|
|
169
169
|
[x: string]: any;
|
|
170
170
|
} | undefined;
|
|
171
|
-
token_endpoint_auth_method?: "
|
|
171
|
+
token_endpoint_auth_method?: "client_secret_post" | "client_secret_basic" | "none" | "client_secret_jwt" | "private_key_jwt" | undefined;
|
|
172
172
|
client_metadata?: {
|
|
173
173
|
[x: string]: string;
|
|
174
174
|
} | undefined;
|
|
@@ -279,7 +279,7 @@ export declare const clientRoutes: OpenAPIHono<{
|
|
|
279
279
|
addons?: {
|
|
280
280
|
[x: string]: any;
|
|
281
281
|
} | undefined;
|
|
282
|
-
token_endpoint_auth_method?: "
|
|
282
|
+
token_endpoint_auth_method?: "client_secret_post" | "client_secret_basic" | "none" | "client_secret_jwt" | "private_key_jwt" | undefined;
|
|
283
283
|
client_metadata?: {
|
|
284
284
|
[x: string]: string;
|
|
285
285
|
} | undefined;
|
|
@@ -389,7 +389,7 @@ export declare const clientRoutes: OpenAPIHono<{
|
|
|
389
389
|
custom_login_page_preview?: string | undefined;
|
|
390
390
|
form_template?: string | undefined;
|
|
391
391
|
addons?: Record<string, any> | undefined;
|
|
392
|
-
token_endpoint_auth_method?: "
|
|
392
|
+
token_endpoint_auth_method?: "client_secret_post" | "client_secret_basic" | "none" | "client_secret_jwt" | "private_key_jwt" | undefined;
|
|
393
393
|
client_metadata?: Record<string, string> | undefined;
|
|
394
394
|
hide_sign_up_disabled_error?: boolean | undefined;
|
|
395
395
|
mobile?: Record<string, any> | undefined;
|
|
@@ -469,7 +469,7 @@ export declare const clientRoutes: OpenAPIHono<{
|
|
|
469
469
|
addons?: {
|
|
470
470
|
[x: string]: any;
|
|
471
471
|
} | undefined;
|
|
472
|
-
token_endpoint_auth_method?: "
|
|
472
|
+
token_endpoint_auth_method?: "client_secret_post" | "client_secret_basic" | "none" | "client_secret_jwt" | "private_key_jwt" | undefined;
|
|
473
473
|
client_metadata?: {
|
|
474
474
|
[x: string]: string;
|
|
475
475
|
} | undefined;
|
|
@@ -558,7 +558,7 @@ export declare const clientRoutes: OpenAPIHono<{
|
|
|
558
558
|
custom_login_page_preview?: string | undefined;
|
|
559
559
|
form_template?: string | undefined;
|
|
560
560
|
addons?: Record<string, any> | undefined;
|
|
561
|
-
token_endpoint_auth_method?: "
|
|
561
|
+
token_endpoint_auth_method?: "client_secret_post" | "client_secret_basic" | "none" | "client_secret_jwt" | "private_key_jwt" | undefined;
|
|
562
562
|
client_metadata?: Record<string, string> | undefined;
|
|
563
563
|
hide_sign_up_disabled_error?: boolean | undefined;
|
|
564
564
|
mobile?: Record<string, any> | undefined;
|
|
@@ -638,7 +638,7 @@ export declare const clientRoutes: OpenAPIHono<{
|
|
|
638
638
|
addons?: {
|
|
639
639
|
[x: string]: any;
|
|
640
640
|
} | undefined;
|
|
641
|
-
token_endpoint_auth_method?: "
|
|
641
|
+
token_endpoint_auth_method?: "client_secret_post" | "client_secret_basic" | "none" | "client_secret_jwt" | "private_key_jwt" | undefined;
|
|
642
642
|
client_metadata?: {
|
|
643
643
|
[x: string]: string;
|
|
644
644
|
} | undefined;
|
|
@@ -12,7 +12,7 @@ export declare const guardianRoutes: OpenAPIHono<{
|
|
|
12
12
|
};
|
|
13
13
|
};
|
|
14
14
|
output: {
|
|
15
|
-
name: "
|
|
15
|
+
name: "email" | "sms" | "otp" | "duo" | "webauthn-roaming" | "webauthn-platform" | "push-notification" | "recovery-code";
|
|
16
16
|
enabled: boolean;
|
|
17
17
|
trial_expired?: boolean | undefined;
|
|
18
18
|
}[];
|
|
@@ -167,7 +167,7 @@ export declare const guardianRoutes: OpenAPIHono<{
|
|
|
167
167
|
$get: {
|
|
168
168
|
input: {
|
|
169
169
|
param: {
|
|
170
|
-
factor_name: "
|
|
170
|
+
factor_name: "email" | "sms" | "otp" | "duo" | "webauthn-roaming" | "webauthn-platform" | "push-notification" | "recovery-code";
|
|
171
171
|
};
|
|
172
172
|
} & {
|
|
173
173
|
header: {
|
|
@@ -175,7 +175,7 @@ export declare const guardianRoutes: OpenAPIHono<{
|
|
|
175
175
|
};
|
|
176
176
|
};
|
|
177
177
|
output: {
|
|
178
|
-
name: "
|
|
178
|
+
name: "email" | "sms" | "otp" | "duo" | "webauthn-roaming" | "webauthn-platform" | "push-notification" | "recovery-code";
|
|
179
179
|
enabled: boolean;
|
|
180
180
|
trial_expired?: boolean | undefined;
|
|
181
181
|
};
|
|
@@ -188,7 +188,7 @@ export declare const guardianRoutes: OpenAPIHono<{
|
|
|
188
188
|
$put: {
|
|
189
189
|
input: {
|
|
190
190
|
param: {
|
|
191
|
-
factor_name: "
|
|
191
|
+
factor_name: "email" | "sms" | "otp" | "duo" | "webauthn-roaming" | "webauthn-platform" | "push-notification" | "recovery-code";
|
|
192
192
|
};
|
|
193
193
|
} & {
|
|
194
194
|
header: {
|
|
@@ -200,7 +200,7 @@ export declare const guardianRoutes: OpenAPIHono<{
|
|
|
200
200
|
};
|
|
201
201
|
};
|
|
202
202
|
output: {
|
|
203
|
-
name: "
|
|
203
|
+
name: "email" | "sms" | "otp" | "duo" | "webauthn-roaming" | "webauthn-platform" | "push-notification" | "recovery-code";
|
|
204
204
|
enabled: boolean;
|
|
205
205
|
trial_expired?: boolean | undefined;
|
|
206
206
|
};
|