authhero 7.0.0 → 7.2.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 +94 -94
- package/dist/authhero.d.ts +224 -244
- package/dist/authhero.mjs +7590 -7572
- 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/helpers/dcr/metadata-mapping.d.ts +1 -1
- package/dist/types/helpers/signing-keys.d.ts +1 -0
- package/dist/types/index.d.ts +203 -221
- package/dist/types/routes/auth-api/index.d.ts +32 -32
- package/dist/types/routes/auth-api/passwordless.d.ts +14 -14
- 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/connections.d.ts +1 -1
- package/dist/types/routes/management-api/custom-domains.d.ts +7 -25
- package/dist/types/routes/management-api/failed-events.d.ts +1 -1
- package/dist/types/routes/management-api/forms.d.ts +119 -119
- package/dist/types/routes/management-api/guardian.d.ts +5 -5
- package/dist/types/routes/management-api/index.d.ts +165 -183
- package/dist/types/routes/management-api/logs.d.ts +3 -3
- package/dist/types/routes/management-api/migration-sources.d.ts +6 -6
- package/dist/types/routes/management-api/organizations.d.ts +1 -1
- package/dist/types/routes/management-api/prompts.d.ts +4 -4
- package/dist/types/routes/management-api/users.d.ts +2 -2
- package/dist/types/routes/proxy-control-plane/index.d.ts +10 -15
- package/dist/types/routes/proxy-control-plane/verify.d.ts +10 -5
- package/dist/types/routes/universal-login/common.d.ts +2 -2
- package/dist/types/routes/universal-login/flow-api.d.ts +8 -8
- package/dist/types/routes/universal-login/u2-index.d.ts +6 -6
- package/dist/types/routes/universal-login/u2-routes.d.ts +6 -6
- package/dist/types/types/AuthHeroConfig.d.ts +11 -13
- package/dist/types/types/Bindings.d.ts +0 -6
- package/dist/types/utils/jwks.d.ts +10 -11
- package/dist/types/utils/jwt.d.ts +21 -1
- package/package.json +5 -5
|
@@ -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,20 +723,20 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
723
723
|
email: string;
|
|
724
724
|
send: "code" | "link";
|
|
725
725
|
authParams: {
|
|
726
|
-
|
|
727
|
-
|
|
726
|
+
organization?: string | undefined;
|
|
727
|
+
audience?: string | undefined;
|
|
728
728
|
scope?: string | undefined;
|
|
729
729
|
username?: string | undefined;
|
|
730
|
-
audience?: string | undefined;
|
|
731
730
|
state?: string | undefined;
|
|
732
|
-
prompt?: string | undefined;
|
|
733
|
-
ui_locales?: string | undefined;
|
|
734
|
-
organization?: string | undefined;
|
|
735
|
-
redirect_uri?: string | undefined;
|
|
736
731
|
act_as?: string | undefined;
|
|
732
|
+
response_type?: import("@authhero/adapter-interfaces").AuthorizationResponseType | undefined;
|
|
733
|
+
response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
|
|
734
|
+
redirect_uri?: string | undefined;
|
|
737
735
|
nonce?: string | undefined;
|
|
736
|
+
prompt?: string | undefined;
|
|
738
737
|
code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined;
|
|
739
738
|
code_challenge?: string | undefined;
|
|
739
|
+
ui_locales?: string | undefined;
|
|
740
740
|
max_age?: number | undefined;
|
|
741
741
|
acr_values?: string | undefined;
|
|
742
742
|
claims?: {
|
|
@@ -759,20 +759,20 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
759
759
|
phone_number: string;
|
|
760
760
|
send: "code" | "link";
|
|
761
761
|
authParams: {
|
|
762
|
-
|
|
763
|
-
|
|
762
|
+
organization?: string | undefined;
|
|
763
|
+
audience?: string | undefined;
|
|
764
764
|
scope?: string | undefined;
|
|
765
765
|
username?: string | undefined;
|
|
766
|
-
audience?: string | undefined;
|
|
767
766
|
state?: string | undefined;
|
|
768
|
-
prompt?: string | undefined;
|
|
769
|
-
ui_locales?: string | undefined;
|
|
770
|
-
organization?: string | undefined;
|
|
771
|
-
redirect_uri?: string | undefined;
|
|
772
767
|
act_as?: string | undefined;
|
|
768
|
+
response_type?: import("@authhero/adapter-interfaces").AuthorizationResponseType | undefined;
|
|
769
|
+
response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
|
|
770
|
+
redirect_uri?: string | undefined;
|
|
773
771
|
nonce?: string | undefined;
|
|
772
|
+
prompt?: string | undefined;
|
|
774
773
|
code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined;
|
|
775
774
|
code_challenge?: string | undefined;
|
|
775
|
+
ui_locales?: string | undefined;
|
|
776
776
|
max_age?: number | undefined;
|
|
777
777
|
acr_values?: string | undefined;
|
|
778
778
|
claims?: {
|
|
@@ -903,14 +903,14 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
903
903
|
input: {
|
|
904
904
|
form: {
|
|
905
905
|
token: string;
|
|
906
|
-
token_type_hint?: "
|
|
906
|
+
token_type_hint?: "refresh_token" | "access_token" | undefined;
|
|
907
907
|
client_id?: string | undefined;
|
|
908
908
|
client_secret?: string | undefined;
|
|
909
909
|
};
|
|
910
910
|
} & {
|
|
911
911
|
json: {
|
|
912
912
|
token: string;
|
|
913
|
-
token_type_hint?: "
|
|
913
|
+
token_type_hint?: "refresh_token" | "access_token" | undefined;
|
|
914
914
|
client_id?: string | undefined;
|
|
915
915
|
client_secret?: string | undefined;
|
|
916
916
|
};
|
|
@@ -922,14 +922,14 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
922
922
|
input: {
|
|
923
923
|
form: {
|
|
924
924
|
token: string;
|
|
925
|
-
token_type_hint?: "
|
|
925
|
+
token_type_hint?: "refresh_token" | "access_token" | undefined;
|
|
926
926
|
client_id?: string | undefined;
|
|
927
927
|
client_secret?: string | undefined;
|
|
928
928
|
};
|
|
929
929
|
} & {
|
|
930
930
|
json: {
|
|
931
931
|
token: string;
|
|
932
|
-
token_type_hint?: "
|
|
932
|
+
token_type_hint?: "refresh_token" | "access_token" | undefined;
|
|
933
933
|
client_id?: string | undefined;
|
|
934
934
|
client_secret?: string | undefined;
|
|
935
935
|
};
|
|
@@ -944,14 +944,14 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
944
944
|
input: {
|
|
945
945
|
form: {
|
|
946
946
|
token: string;
|
|
947
|
-
token_type_hint?: "
|
|
947
|
+
token_type_hint?: "refresh_token" | "access_token" | undefined;
|
|
948
948
|
client_id?: string | undefined;
|
|
949
949
|
client_secret?: string | undefined;
|
|
950
950
|
};
|
|
951
951
|
} & {
|
|
952
952
|
json: {
|
|
953
953
|
token: string;
|
|
954
|
-
token_type_hint?: "
|
|
954
|
+
token_type_hint?: "refresh_token" | "access_token" | undefined;
|
|
955
955
|
client_id?: string | undefined;
|
|
956
956
|
client_secret?: string | undefined;
|
|
957
957
|
};
|
|
@@ -1001,7 +1001,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
1001
1001
|
client_id: string;
|
|
1002
1002
|
username: string;
|
|
1003
1003
|
otp: string;
|
|
1004
|
-
realm: "
|
|
1004
|
+
realm: "sms" | "email";
|
|
1005
1005
|
} | {
|
|
1006
1006
|
grant_type: "urn:ietf:params:oauth:grant-type:token-exchange";
|
|
1007
1007
|
subject_token: string;
|
|
@@ -1048,7 +1048,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
1048
1048
|
client_id: string;
|
|
1049
1049
|
username: string;
|
|
1050
1050
|
otp: string;
|
|
1051
|
-
realm: "
|
|
1051
|
+
realm: "sms" | "email";
|
|
1052
1052
|
} | {
|
|
1053
1053
|
grant_type: "urn:ietf:params:oauth:grant-type:token-exchange";
|
|
1054
1054
|
subject_token: string;
|
|
@@ -1100,7 +1100,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
1100
1100
|
client_id: string;
|
|
1101
1101
|
username: string;
|
|
1102
1102
|
otp: string;
|
|
1103
|
-
realm: "
|
|
1103
|
+
realm: "sms" | "email";
|
|
1104
1104
|
} | {
|
|
1105
1105
|
grant_type: "urn:ietf:params:oauth:grant-type:token-exchange";
|
|
1106
1106
|
subject_token: string;
|
|
@@ -1147,7 +1147,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
1147
1147
|
client_id: string;
|
|
1148
1148
|
username: string;
|
|
1149
1149
|
otp: string;
|
|
1150
|
-
realm: "
|
|
1150
|
+
realm: "sms" | "email";
|
|
1151
1151
|
} | {
|
|
1152
1152
|
grant_type: "urn:ietf:params:oauth:grant-type:token-exchange";
|
|
1153
1153
|
subject_token: string;
|
|
@@ -1207,7 +1207,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
1207
1207
|
client_id: string;
|
|
1208
1208
|
username: string;
|
|
1209
1209
|
otp: string;
|
|
1210
|
-
realm: "
|
|
1210
|
+
realm: "sms" | "email";
|
|
1211
1211
|
} | {
|
|
1212
1212
|
grant_type: "urn:ietf:params:oauth:grant-type:token-exchange";
|
|
1213
1213
|
subject_token: string;
|
|
@@ -1254,7 +1254,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
1254
1254
|
client_id: string;
|
|
1255
1255
|
username: string;
|
|
1256
1256
|
otp: string;
|
|
1257
|
-
realm: "
|
|
1257
|
+
realm: "sms" | "email";
|
|
1258
1258
|
} | {
|
|
1259
1259
|
grant_type: "urn:ietf:params:oauth:grant-type:token-exchange";
|
|
1260
1260
|
subject_token: string;
|
|
@@ -1309,7 +1309,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
1309
1309
|
client_id: string;
|
|
1310
1310
|
username: string;
|
|
1311
1311
|
otp: string;
|
|
1312
|
-
realm: "
|
|
1312
|
+
realm: "sms" | "email";
|
|
1313
1313
|
} | {
|
|
1314
1314
|
grant_type: "urn:ietf:params:oauth:grant-type:token-exchange";
|
|
1315
1315
|
subject_token: string;
|
|
@@ -1356,7 +1356,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
1356
1356
|
client_id: string;
|
|
1357
1357
|
username: string;
|
|
1358
1358
|
otp: string;
|
|
1359
|
-
realm: "
|
|
1359
|
+
realm: "sms" | "email";
|
|
1360
1360
|
} | {
|
|
1361
1361
|
grant_type: "urn:ietf:params:oauth:grant-type:token-exchange";
|
|
1362
1362
|
subject_token: string;
|
|
@@ -1411,7 +1411,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
1411
1411
|
client_id: string;
|
|
1412
1412
|
username: string;
|
|
1413
1413
|
otp: string;
|
|
1414
|
-
realm: "
|
|
1414
|
+
realm: "sms" | "email";
|
|
1415
1415
|
} | {
|
|
1416
1416
|
grant_type: "urn:ietf:params:oauth:grant-type:token-exchange";
|
|
1417
1417
|
subject_token: string;
|
|
@@ -1458,7 +1458,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
1458
1458
|
client_id: string;
|
|
1459
1459
|
username: string;
|
|
1460
1460
|
otp: string;
|
|
1461
|
-
realm: "
|
|
1461
|
+
realm: "sms" | "email";
|
|
1462
1462
|
} | {
|
|
1463
1463
|
grant_type: "urn:ietf:params:oauth:grant-type:token-exchange";
|
|
1464
1464
|
subject_token: string;
|
|
@@ -14,20 +14,20 @@ export declare const passwordlessRoutes: OpenAPIHono<{
|
|
|
14
14
|
email: string;
|
|
15
15
|
send: "code" | "link";
|
|
16
16
|
authParams: {
|
|
17
|
-
|
|
18
|
-
|
|
17
|
+
organization?: string | undefined;
|
|
18
|
+
audience?: string | undefined;
|
|
19
19
|
scope?: string | undefined;
|
|
20
20
|
username?: string | undefined;
|
|
21
|
-
audience?: string | undefined;
|
|
22
21
|
state?: string | undefined;
|
|
23
|
-
prompt?: string | undefined;
|
|
24
|
-
ui_locales?: string | undefined;
|
|
25
|
-
organization?: string | undefined;
|
|
26
|
-
redirect_uri?: string | undefined;
|
|
27
22
|
act_as?: string | undefined;
|
|
23
|
+
response_type?: AuthorizationResponseType | undefined;
|
|
24
|
+
response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
|
|
25
|
+
redirect_uri?: string | undefined;
|
|
28
26
|
nonce?: string | undefined;
|
|
27
|
+
prompt?: string | undefined;
|
|
29
28
|
code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined;
|
|
30
29
|
code_challenge?: string | undefined;
|
|
30
|
+
ui_locales?: string | undefined;
|
|
31
31
|
max_age?: number | undefined;
|
|
32
32
|
acr_values?: string | undefined;
|
|
33
33
|
claims?: {
|
|
@@ -50,20 +50,20 @@ export declare const passwordlessRoutes: OpenAPIHono<{
|
|
|
50
50
|
phone_number: string;
|
|
51
51
|
send: "code" | "link";
|
|
52
52
|
authParams: {
|
|
53
|
-
|
|
54
|
-
|
|
53
|
+
organization?: string | undefined;
|
|
54
|
+
audience?: string | undefined;
|
|
55
55
|
scope?: string | undefined;
|
|
56
56
|
username?: string | undefined;
|
|
57
|
-
audience?: string | undefined;
|
|
58
57
|
state?: string | undefined;
|
|
59
|
-
prompt?: string | undefined;
|
|
60
|
-
ui_locales?: string | undefined;
|
|
61
|
-
organization?: string | undefined;
|
|
62
|
-
redirect_uri?: string | undefined;
|
|
63
58
|
act_as?: string | undefined;
|
|
59
|
+
response_type?: AuthorizationResponseType | undefined;
|
|
60
|
+
response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
|
|
61
|
+
redirect_uri?: string | undefined;
|
|
64
62
|
nonce?: string | undefined;
|
|
63
|
+
prompt?: string | undefined;
|
|
65
64
|
code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined;
|
|
66
65
|
code_challenge?: string | undefined;
|
|
66
|
+
ui_locales?: string | undefined;
|
|
67
67
|
max_age?: number | undefined;
|
|
68
68
|
acr_values?: string | undefined;
|
|
69
69
|
claims?: {
|
|
@@ -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?: "none" | "client_secret_post" | "client_secret_basic" | "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?: "none" | "client_secret_post" | "client_secret_basic" | "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?: "refresh_token" | "access_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?: "refresh_token" | "access_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?: "refresh_token" | "access_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?: "refresh_token" | "access_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?: "refresh_token" | "access_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?: "refresh_token" | "access_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: "sms" | "email";
|
|
44
44
|
} | {
|
|
45
45
|
grant_type: "urn:ietf:params:oauth:grant-type:token-exchange";
|
|
46
46
|
subject_token: string;
|
|
@@ -87,7 +87,7 @@ export declare const tokenRoutes: OpenAPIHono<{
|
|
|
87
87
|
client_id: string;
|
|
88
88
|
username: string;
|
|
89
89
|
otp: string;
|
|
90
|
-
realm: "
|
|
90
|
+
realm: "sms" | "email";
|
|
91
91
|
} | {
|
|
92
92
|
grant_type: "urn:ietf:params:oauth:grant-type:token-exchange";
|
|
93
93
|
subject_token: string;
|
|
@@ -139,7 +139,7 @@ export declare const tokenRoutes: OpenAPIHono<{
|
|
|
139
139
|
client_id: string;
|
|
140
140
|
username: string;
|
|
141
141
|
otp: string;
|
|
142
|
-
realm: "
|
|
142
|
+
realm: "sms" | "email";
|
|
143
143
|
} | {
|
|
144
144
|
grant_type: "urn:ietf:params:oauth:grant-type:token-exchange";
|
|
145
145
|
subject_token: string;
|
|
@@ -186,7 +186,7 @@ export declare const tokenRoutes: OpenAPIHono<{
|
|
|
186
186
|
client_id: string;
|
|
187
187
|
username: string;
|
|
188
188
|
otp: string;
|
|
189
|
-
realm: "
|
|
189
|
+
realm: "sms" | "email";
|
|
190
190
|
} | {
|
|
191
191
|
grant_type: "urn:ietf:params:oauth:grant-type:token-exchange";
|
|
192
192
|
subject_token: string;
|
|
@@ -246,7 +246,7 @@ export declare const tokenRoutes: OpenAPIHono<{
|
|
|
246
246
|
client_id: string;
|
|
247
247
|
username: string;
|
|
248
248
|
otp: string;
|
|
249
|
-
realm: "
|
|
249
|
+
realm: "sms" | "email";
|
|
250
250
|
} | {
|
|
251
251
|
grant_type: "urn:ietf:params:oauth:grant-type:token-exchange";
|
|
252
252
|
subject_token: string;
|
|
@@ -293,7 +293,7 @@ export declare const tokenRoutes: OpenAPIHono<{
|
|
|
293
293
|
client_id: string;
|
|
294
294
|
username: string;
|
|
295
295
|
otp: string;
|
|
296
|
-
realm: "
|
|
296
|
+
realm: "sms" | "email";
|
|
297
297
|
} | {
|
|
298
298
|
grant_type: "urn:ietf:params:oauth:grant-type:token-exchange";
|
|
299
299
|
subject_token: string;
|
|
@@ -348,7 +348,7 @@ export declare const tokenRoutes: OpenAPIHono<{
|
|
|
348
348
|
client_id: string;
|
|
349
349
|
username: string;
|
|
350
350
|
otp: string;
|
|
351
|
-
realm: "
|
|
351
|
+
realm: "sms" | "email";
|
|
352
352
|
} | {
|
|
353
353
|
grant_type: "urn:ietf:params:oauth:grant-type:token-exchange";
|
|
354
354
|
subject_token: string;
|
|
@@ -395,7 +395,7 @@ export declare const tokenRoutes: OpenAPIHono<{
|
|
|
395
395
|
client_id: string;
|
|
396
396
|
username: string;
|
|
397
397
|
otp: string;
|
|
398
|
-
realm: "
|
|
398
|
+
realm: "sms" | "email";
|
|
399
399
|
} | {
|
|
400
400
|
grant_type: "urn:ietf:params:oauth:grant-type:token-exchange";
|
|
401
401
|
subject_token: string;
|
|
@@ -450,7 +450,7 @@ export declare const tokenRoutes: OpenAPIHono<{
|
|
|
450
450
|
client_id: string;
|
|
451
451
|
username: string;
|
|
452
452
|
otp: string;
|
|
453
|
-
realm: "
|
|
453
|
+
realm: "sms" | "email";
|
|
454
454
|
} | {
|
|
455
455
|
grant_type: "urn:ietf:params:oauth:grant-type:token-exchange";
|
|
456
456
|
subject_token: string;
|
|
@@ -497,7 +497,7 @@ export declare const tokenRoutes: OpenAPIHono<{
|
|
|
497
497
|
client_id: string;
|
|
498
498
|
username: string;
|
|
499
499
|
otp: string;
|
|
500
|
-
realm: "
|
|
500
|
+
realm: "sms" | "email";
|
|
501
501
|
} | {
|
|
502
502
|
grant_type: "urn:ietf:params:oauth:grant-type:token-exchange";
|
|
503
503
|
subject_token: string;
|
|
@@ -37,7 +37,7 @@ export declare const authenticationMethodsRoutes: OpenAPIHono<{
|
|
|
37
37
|
};
|
|
38
38
|
} & {
|
|
39
39
|
json: {
|
|
40
|
-
type: "
|
|
40
|
+
type: "push" | "email" | "passkey" | "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?: "user" | "client" | 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?: "user" | "client" | 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?: "user" | "client" | 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?: "user" | "client" | 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?: "user" | "client" | 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?: "user" | "client" | 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?: "user" | "client" | 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?: "user" | "client" | 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?: "none" | "client_secret_post" | "client_secret_basic" | "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?: "none" | "client_secret_post" | "client_secret_basic" | "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?: "none" | "client_secret_post" | "client_secret_basic" | "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?: "none" | "client_secret_post" | "client_secret_basic" | "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?: "none" | "client_secret_post" | "client_secret_basic" | "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?: "none" | "client_secret_post" | "client_secret_basic" | "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?: "none" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | "private_key_jwt" | undefined;
|
|
642
642
|
client_metadata?: {
|
|
643
643
|
[x: string]: string;
|
|
644
644
|
} | undefined;
|