authhero 5.15.0 → 5.16.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 +1 -1
- package/dist/assets/u/widget/index.esm.js +1 -1
- package/dist/authhero.cjs +116 -116
- package/dist/authhero.d.ts +271 -225
- package/dist/authhero.mjs +10024 -9934
- package/dist/client.js +1 -1
- package/dist/stats.html +1 -1
- package/dist/tsconfig.types.tsbuildinfo +1 -1
- package/dist/types/authentication-flows/passwordless.d.ts +2 -2
- package/dist/types/client/client-bundle.d.ts +1 -1
- package/dist/types/index.d.ts +271 -225
- package/dist/types/routes/auth-api/authorize.d.ts +12 -12
- package/dist/types/routes/auth-api/index.d.ts +47 -47
- package/dist/types/routes/auth-api/oidc-logout.d.ts +3 -3
- package/dist/types/routes/auth-api/passwordless.d.ts +10 -10
- package/dist/types/routes/auth-api/token.d.ts +21 -21
- package/dist/types/routes/auth-api/well-known.d.ts +1 -1
- package/dist/types/routes/management-api/authentication-methods.d.ts +1 -1
- package/dist/types/routes/management-api/branding.d.ts +8 -8
- package/dist/types/routes/management-api/connections.d.ts +1 -1
- package/dist/types/routes/management-api/custom-domains.d.ts +52 -6
- package/dist/types/routes/management-api/email-templates.d.ts +14 -14
- 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 +212 -166
- package/dist/types/routes/management-api/logs.d.ts +3 -3
- package/dist/types/routes/management-api/organizations.d.ts +3 -3
- package/dist/types/routes/management-api/prompts.d.ts +4 -4
- package/dist/types/routes/management-api/themes.d.ts +3 -3
- package/dist/types/routes/management-api/users.d.ts +2 -2
- package/dist/types/routes/universal-login/common.d.ts +4 -4
- package/dist/types/routes/universal-login/continue.d.ts +2 -2
- 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/impersonate.d.ts +4 -4
- package/dist/types/routes/universal-login/index.d.ts +8 -8
- package/dist/types/routes/universal-login/u2-index.d.ts +4 -4
- package/dist/types/routes/universal-login/u2-routes.d.ts +4 -4
- package/dist/types/state-machines/login-session.d.ts +1 -1
- package/dist/types/types/IdToken.d.ts +1 -1
- package/dist/types/utils/jwks.d.ts +2 -2
- package/package.json +5 -5
|
@@ -105,17 +105,11 @@ export declare const authorizeRoutes: OpenAPIHono<{
|
|
|
105
105
|
request_uri?: string | undefined;
|
|
106
106
|
};
|
|
107
107
|
};
|
|
108
|
-
output:
|
|
109
|
-
|
|
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;
|
|
108
|
+
output: {
|
|
109
|
+
message: string;
|
|
116
110
|
};
|
|
117
111
|
outputFormat: "json";
|
|
118
|
-
status:
|
|
112
|
+
status: 400;
|
|
119
113
|
} | {
|
|
120
114
|
input: {
|
|
121
115
|
query: {
|
|
@@ -147,11 +141,17 @@ export declare const authorizeRoutes: OpenAPIHono<{
|
|
|
147
141
|
request_uri?: string | undefined;
|
|
148
142
|
};
|
|
149
143
|
};
|
|
150
|
-
output: {
|
|
151
|
-
|
|
144
|
+
output: string | {
|
|
145
|
+
access_token: string;
|
|
146
|
+
token_type: string;
|
|
147
|
+
expires_in: number;
|
|
148
|
+
id_token?: string | undefined;
|
|
149
|
+
scope?: string | undefined;
|
|
150
|
+
state?: string | undefined;
|
|
151
|
+
refresh_token?: string | undefined;
|
|
152
152
|
};
|
|
153
153
|
outputFormat: "json";
|
|
154
|
-
status:
|
|
154
|
+
status: 200;
|
|
155
155
|
} | {
|
|
156
156
|
input: {
|
|
157
157
|
query: {
|
|
@@ -557,17 +557,11 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
557
557
|
request_uri?: string | undefined;
|
|
558
558
|
};
|
|
559
559
|
};
|
|
560
|
-
output:
|
|
561
|
-
|
|
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;
|
|
560
|
+
output: {
|
|
561
|
+
message: string;
|
|
568
562
|
};
|
|
569
563
|
outputFormat: "json";
|
|
570
|
-
status:
|
|
564
|
+
status: 400;
|
|
571
565
|
} | {
|
|
572
566
|
input: {
|
|
573
567
|
query: {
|
|
@@ -599,11 +593,17 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
599
593
|
request_uri?: string | undefined;
|
|
600
594
|
};
|
|
601
595
|
};
|
|
602
|
-
output: {
|
|
603
|
-
|
|
596
|
+
output: string | {
|
|
597
|
+
access_token: string;
|
|
598
|
+
token_type: string;
|
|
599
|
+
expires_in: number;
|
|
600
|
+
id_token?: string | undefined;
|
|
601
|
+
scope?: string | undefined;
|
|
602
|
+
state?: string | undefined;
|
|
603
|
+
refresh_token?: string | undefined;
|
|
604
604
|
};
|
|
605
605
|
outputFormat: "json";
|
|
606
|
-
status:
|
|
606
|
+
status: 200;
|
|
607
607
|
} | {
|
|
608
608
|
input: {
|
|
609
609
|
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
|
-
|
|
726
|
+
audience?: string | undefined;
|
|
727
727
|
response_type?: import("@authhero/adapter-interfaces").AuthorizationResponseType | undefined;
|
|
728
728
|
response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
|
|
729
|
+
scope?: string | undefined;
|
|
730
|
+
username?: string | undefined;
|
|
731
|
+
state?: string | undefined;
|
|
732
|
+
act_as?: string | undefined;
|
|
729
733
|
redirect_uri?: string | undefined;
|
|
730
|
-
audience?: string | undefined;
|
|
731
734
|
organization?: string | undefined;
|
|
732
|
-
state?: string | undefined;
|
|
733
735
|
nonce?: string | undefined;
|
|
734
|
-
scope?: string | undefined;
|
|
735
736
|
prompt?: string | undefined;
|
|
736
737
|
code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined;
|
|
737
738
|
code_challenge?: string | undefined;
|
|
738
|
-
username?: 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
|
-
|
|
762
|
+
audience?: string | undefined;
|
|
763
763
|
response_type?: import("@authhero/adapter-interfaces").AuthorizationResponseType | undefined;
|
|
764
764
|
response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
|
|
765
|
+
scope?: string | undefined;
|
|
766
|
+
username?: string | undefined;
|
|
767
|
+
state?: string | undefined;
|
|
768
|
+
act_as?: string | undefined;
|
|
765
769
|
redirect_uri?: string | undefined;
|
|
766
|
-
audience?: string | undefined;
|
|
767
770
|
organization?: string | undefined;
|
|
768
|
-
state?: string | undefined;
|
|
769
771
|
nonce?: string | undefined;
|
|
770
|
-
scope?: string | undefined;
|
|
771
772
|
prompt?: string | undefined;
|
|
772
773
|
code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined;
|
|
773
774
|
code_challenge?: string | undefined;
|
|
774
|
-
username?: string | undefined;
|
|
775
775
|
ui_locales?: string | undefined;
|
|
776
776
|
max_age?: number | undefined;
|
|
777
777
|
acr_values?: string | undefined;
|
|
@@ -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
|
} & {
|
|
1007
1007
|
json: {
|
|
@@ -1037,7 +1037,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
1037
1037
|
client_id: string;
|
|
1038
1038
|
username: string;
|
|
1039
1039
|
otp: string;
|
|
1040
|
-
realm: "
|
|
1040
|
+
realm: "sms" | "email";
|
|
1041
1041
|
};
|
|
1042
1042
|
};
|
|
1043
1043
|
output: {};
|
|
@@ -1078,7 +1078,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
1078
1078
|
client_id: string;
|
|
1079
1079
|
username: string;
|
|
1080
1080
|
otp: string;
|
|
1081
|
-
realm: "
|
|
1081
|
+
realm: "sms" | "email";
|
|
1082
1082
|
};
|
|
1083
1083
|
} & {
|
|
1084
1084
|
json: {
|
|
@@ -1114,20 +1114,15 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
1114
1114
|
client_id: string;
|
|
1115
1115
|
username: string;
|
|
1116
1116
|
otp: string;
|
|
1117
|
-
realm: "
|
|
1117
|
+
realm: "sms" | "email";
|
|
1118
1118
|
};
|
|
1119
1119
|
};
|
|
1120
1120
|
output: {
|
|
1121
|
-
|
|
1122
|
-
|
|
1123
|
-
expires_in: number;
|
|
1124
|
-
id_token?: string | undefined;
|
|
1125
|
-
scope?: string | undefined;
|
|
1126
|
-
state?: string | undefined;
|
|
1127
|
-
refresh_token?: string | undefined;
|
|
1121
|
+
error: string;
|
|
1122
|
+
error_description?: string | undefined;
|
|
1128
1123
|
};
|
|
1129
1124
|
outputFormat: "json";
|
|
1130
|
-
status:
|
|
1125
|
+
status: 400;
|
|
1131
1126
|
} | {
|
|
1132
1127
|
input: {
|
|
1133
1128
|
form: {
|
|
@@ -1163,7 +1158,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
1163
1158
|
client_id: string;
|
|
1164
1159
|
username: string;
|
|
1165
1160
|
otp: string;
|
|
1166
|
-
realm: "
|
|
1161
|
+
realm: "sms" | "email";
|
|
1167
1162
|
};
|
|
1168
1163
|
} & {
|
|
1169
1164
|
json: {
|
|
@@ -1199,15 +1194,20 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
1199
1194
|
client_id: string;
|
|
1200
1195
|
username: string;
|
|
1201
1196
|
otp: string;
|
|
1202
|
-
realm: "
|
|
1197
|
+
realm: "sms" | "email";
|
|
1203
1198
|
};
|
|
1204
1199
|
};
|
|
1205
1200
|
output: {
|
|
1206
|
-
|
|
1207
|
-
|
|
1201
|
+
access_token: string;
|
|
1202
|
+
token_type: string;
|
|
1203
|
+
expires_in: number;
|
|
1204
|
+
id_token?: string | undefined;
|
|
1205
|
+
scope?: string | undefined;
|
|
1206
|
+
state?: string | undefined;
|
|
1207
|
+
refresh_token?: string | undefined;
|
|
1208
1208
|
};
|
|
1209
1209
|
outputFormat: "json";
|
|
1210
|
-
status:
|
|
1210
|
+
status: 200;
|
|
1211
1211
|
} | {
|
|
1212
1212
|
input: {
|
|
1213
1213
|
form: {
|
|
@@ -1243,7 +1243,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
1243
1243
|
client_id: string;
|
|
1244
1244
|
username: string;
|
|
1245
1245
|
otp: string;
|
|
1246
|
-
realm: "
|
|
1246
|
+
realm: "sms" | "email";
|
|
1247
1247
|
};
|
|
1248
1248
|
} & {
|
|
1249
1249
|
json: {
|
|
@@ -1279,7 +1279,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
1279
1279
|
client_id: string;
|
|
1280
1280
|
username: string;
|
|
1281
1281
|
otp: string;
|
|
1282
|
-
realm: "
|
|
1282
|
+
realm: "sms" | "email";
|
|
1283
1283
|
};
|
|
1284
1284
|
};
|
|
1285
1285
|
output: {
|
|
@@ -1323,7 +1323,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
1323
1323
|
client_id: string;
|
|
1324
1324
|
username: string;
|
|
1325
1325
|
otp: string;
|
|
1326
|
-
realm: "
|
|
1326
|
+
realm: "sms" | "email";
|
|
1327
1327
|
};
|
|
1328
1328
|
} & {
|
|
1329
1329
|
json: {
|
|
@@ -1359,7 +1359,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
1359
1359
|
client_id: string;
|
|
1360
1360
|
username: string;
|
|
1361
1361
|
otp: string;
|
|
1362
|
-
realm: "
|
|
1362
|
+
realm: "sms" | "email";
|
|
1363
1363
|
};
|
|
1364
1364
|
};
|
|
1365
1365
|
output: {
|
|
@@ -1378,7 +1378,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
1378
1378
|
keys: {
|
|
1379
1379
|
alg: "RS256" | "RS384" | "RS512" | "ES256" | "ES384" | "ES512" | "HS256" | "HS384" | "HS512";
|
|
1380
1380
|
kid: string;
|
|
1381
|
-
kty: "
|
|
1381
|
+
kty: "EC" | "RSA" | "oct";
|
|
1382
1382
|
use?: "sig" | "enc" | undefined;
|
|
1383
1383
|
n?: string | undefined;
|
|
1384
1384
|
e?: string | undefined;
|
|
@@ -1566,7 +1566,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
1566
1566
|
};
|
|
1567
1567
|
output: {};
|
|
1568
1568
|
outputFormat: string;
|
|
1569
|
-
status:
|
|
1569
|
+
status: 400;
|
|
1570
1570
|
} | {
|
|
1571
1571
|
input: {
|
|
1572
1572
|
query: {
|
|
@@ -1580,7 +1580,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
1580
1580
|
};
|
|
1581
1581
|
output: {};
|
|
1582
1582
|
outputFormat: string;
|
|
1583
|
-
status:
|
|
1583
|
+
status: 200;
|
|
1584
1584
|
} | {
|
|
1585
1585
|
input: {
|
|
1586
1586
|
query: {
|
|
@@ -1594,7 +1594,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
1594
1594
|
};
|
|
1595
1595
|
output: {};
|
|
1596
1596
|
outputFormat: string;
|
|
1597
|
-
status:
|
|
1597
|
+
status: 302;
|
|
1598
1598
|
};
|
|
1599
1599
|
};
|
|
1600
1600
|
}, "/oidc/logout"> & import("hono/types").MergeSchemaPath<{
|
|
@@ -18,7 +18,7 @@ export declare const oidcLogoutRoutes: OpenAPIHono<{
|
|
|
18
18
|
};
|
|
19
19
|
output: {};
|
|
20
20
|
outputFormat: string;
|
|
21
|
-
status:
|
|
21
|
+
status: 400;
|
|
22
22
|
} | {
|
|
23
23
|
input: {
|
|
24
24
|
query: {
|
|
@@ -32,7 +32,7 @@ export declare const oidcLogoutRoutes: OpenAPIHono<{
|
|
|
32
32
|
};
|
|
33
33
|
output: {};
|
|
34
34
|
outputFormat: string;
|
|
35
|
-
status:
|
|
35
|
+
status: 200;
|
|
36
36
|
} | {
|
|
37
37
|
input: {
|
|
38
38
|
query: {
|
|
@@ -46,7 +46,7 @@ export declare const oidcLogoutRoutes: OpenAPIHono<{
|
|
|
46
46
|
};
|
|
47
47
|
output: {};
|
|
48
48
|
outputFormat: string;
|
|
49
|
-
status:
|
|
49
|
+
status: 302;
|
|
50
50
|
};
|
|
51
51
|
};
|
|
52
52
|
}, "/">;
|
|
@@ -14,19 +14,19 @@ export declare const passwordlessRoutes: OpenAPIHono<{
|
|
|
14
14
|
email: string;
|
|
15
15
|
send: "code" | "link";
|
|
16
16
|
authParams: {
|
|
17
|
-
|
|
17
|
+
audience?: string | undefined;
|
|
18
18
|
response_type?: AuthorizationResponseType | undefined;
|
|
19
19
|
response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
|
|
20
|
+
scope?: string | undefined;
|
|
21
|
+
username?: string | undefined;
|
|
22
|
+
state?: string | undefined;
|
|
23
|
+
act_as?: string | undefined;
|
|
20
24
|
redirect_uri?: string | undefined;
|
|
21
|
-
audience?: string | undefined;
|
|
22
25
|
organization?: string | undefined;
|
|
23
|
-
state?: string | undefined;
|
|
24
26
|
nonce?: string | undefined;
|
|
25
|
-
scope?: string | undefined;
|
|
26
27
|
prompt?: string | undefined;
|
|
27
28
|
code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined;
|
|
28
29
|
code_challenge?: string | undefined;
|
|
29
|
-
username?: 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
|
-
|
|
53
|
+
audience?: string | undefined;
|
|
54
54
|
response_type?: AuthorizationResponseType | undefined;
|
|
55
55
|
response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
|
|
56
|
+
scope?: string | undefined;
|
|
57
|
+
username?: string | undefined;
|
|
58
|
+
state?: string | undefined;
|
|
59
|
+
act_as?: string | undefined;
|
|
56
60
|
redirect_uri?: string | undefined;
|
|
57
|
-
audience?: string | undefined;
|
|
58
61
|
organization?: string | undefined;
|
|
59
|
-
state?: string | undefined;
|
|
60
62
|
nonce?: string | undefined;
|
|
61
|
-
scope?: string | undefined;
|
|
62
63
|
prompt?: string | undefined;
|
|
63
64
|
code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined;
|
|
64
65
|
code_challenge?: string | undefined;
|
|
65
|
-
username?: string | undefined;
|
|
66
66
|
ui_locales?: string | undefined;
|
|
67
67
|
max_age?: number | undefined;
|
|
68
68
|
acr_values?: string | undefined;
|
|
@@ -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
|
} & {
|
|
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: "sms" | "email";
|
|
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: "sms" | "email";
|
|
121
121
|
};
|
|
122
122
|
} & {
|
|
123
123
|
json: {
|
|
@@ -153,20 +153,15 @@ export declare const tokenRoutes: OpenAPIHono<{
|
|
|
153
153
|
client_id: string;
|
|
154
154
|
username: string;
|
|
155
155
|
otp: string;
|
|
156
|
-
realm: "
|
|
156
|
+
realm: "sms" | "email";
|
|
157
157
|
};
|
|
158
158
|
};
|
|
159
159
|
output: {
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
expires_in: number;
|
|
163
|
-
id_token?: string | undefined;
|
|
164
|
-
scope?: string | undefined;
|
|
165
|
-
state?: string | undefined;
|
|
166
|
-
refresh_token?: string | undefined;
|
|
160
|
+
error: string;
|
|
161
|
+
error_description?: string | undefined;
|
|
167
162
|
};
|
|
168
163
|
outputFormat: "json";
|
|
169
|
-
status:
|
|
164
|
+
status: 400;
|
|
170
165
|
} | {
|
|
171
166
|
input: {
|
|
172
167
|
form: {
|
|
@@ -202,7 +197,7 @@ export declare const tokenRoutes: OpenAPIHono<{
|
|
|
202
197
|
client_id: string;
|
|
203
198
|
username: string;
|
|
204
199
|
otp: string;
|
|
205
|
-
realm: "
|
|
200
|
+
realm: "sms" | "email";
|
|
206
201
|
};
|
|
207
202
|
} & {
|
|
208
203
|
json: {
|
|
@@ -238,15 +233,20 @@ export declare const tokenRoutes: OpenAPIHono<{
|
|
|
238
233
|
client_id: string;
|
|
239
234
|
username: string;
|
|
240
235
|
otp: string;
|
|
241
|
-
realm: "
|
|
236
|
+
realm: "sms" | "email";
|
|
242
237
|
};
|
|
243
238
|
};
|
|
244
239
|
output: {
|
|
245
|
-
|
|
246
|
-
|
|
240
|
+
access_token: string;
|
|
241
|
+
token_type: string;
|
|
242
|
+
expires_in: number;
|
|
243
|
+
id_token?: string | undefined;
|
|
244
|
+
scope?: string | undefined;
|
|
245
|
+
state?: string | undefined;
|
|
246
|
+
refresh_token?: string | undefined;
|
|
247
247
|
};
|
|
248
248
|
outputFormat: "json";
|
|
249
|
-
status:
|
|
249
|
+
status: 200;
|
|
250
250
|
} | {
|
|
251
251
|
input: {
|
|
252
252
|
form: {
|
|
@@ -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: "sms" | "email";
|
|
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: "sms" | "email";
|
|
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: "sms" | "email";
|
|
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: "sms" | "email";
|
|
402
402
|
};
|
|
403
403
|
};
|
|
404
404
|
output: {
|
|
@@ -10,7 +10,7 @@ export declare const wellKnownRoutes: import("hono/hono-base").HonoBase<{
|
|
|
10
10
|
keys: {
|
|
11
11
|
alg: "RS256" | "RS384" | "RS512" | "ES256" | "ES384" | "ES512" | "HS256" | "HS384" | "HS512";
|
|
12
12
|
kid: string;
|
|
13
|
-
kty: "
|
|
13
|
+
kty: "EC" | "RSA" | "oct";
|
|
14
14
|
use?: "sig" | "enc" | undefined;
|
|
15
15
|
n?: string | undefined;
|
|
16
16
|
e?: string | undefined;
|
|
@@ -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;
|
|
@@ -27,7 +27,7 @@ export declare const brandingRoutes: OpenAPIHono<{
|
|
|
27
27
|
base_focus_color: string;
|
|
28
28
|
base_hover_color: string;
|
|
29
29
|
body_text: string;
|
|
30
|
-
captcha_widget_theme: "
|
|
30
|
+
captcha_widget_theme: "auto" | "light" | "dark";
|
|
31
31
|
error: string;
|
|
32
32
|
header: string;
|
|
33
33
|
icons: string;
|
|
@@ -117,7 +117,7 @@ export declare const brandingRoutes: OpenAPIHono<{
|
|
|
117
117
|
base_focus_color: string;
|
|
118
118
|
base_hover_color: string;
|
|
119
119
|
body_text: string;
|
|
120
|
-
captcha_widget_theme: "
|
|
120
|
+
captcha_widget_theme: "auto" | "light" | "dark";
|
|
121
121
|
error: string;
|
|
122
122
|
header: string;
|
|
123
123
|
icons: string;
|
|
@@ -196,7 +196,7 @@ export declare const brandingRoutes: OpenAPIHono<{
|
|
|
196
196
|
base_focus_color: string;
|
|
197
197
|
base_hover_color: string;
|
|
198
198
|
body_text: string;
|
|
199
|
-
captcha_widget_theme: "
|
|
199
|
+
captcha_widget_theme: "auto" | "light" | "dark";
|
|
200
200
|
error: string;
|
|
201
201
|
header: string;
|
|
202
202
|
icons: string;
|
|
@@ -286,7 +286,7 @@ export declare const brandingRoutes: OpenAPIHono<{
|
|
|
286
286
|
font?: {
|
|
287
287
|
url: string;
|
|
288
288
|
} | undefined;
|
|
289
|
-
dark_mode?: "
|
|
289
|
+
dark_mode?: "auto" | "light" | "dark" | undefined;
|
|
290
290
|
};
|
|
291
291
|
outputFormat: "json";
|
|
292
292
|
status: 200;
|
|
@@ -316,7 +316,7 @@ export declare const brandingRoutes: OpenAPIHono<{
|
|
|
316
316
|
font?: {
|
|
317
317
|
url: string;
|
|
318
318
|
} | undefined;
|
|
319
|
-
dark_mode?: "
|
|
319
|
+
dark_mode?: "auto" | "light" | "dark" | undefined;
|
|
320
320
|
};
|
|
321
321
|
};
|
|
322
322
|
output: {
|
|
@@ -335,7 +335,7 @@ export declare const brandingRoutes: OpenAPIHono<{
|
|
|
335
335
|
font?: {
|
|
336
336
|
url: string;
|
|
337
337
|
} | undefined;
|
|
338
|
-
dark_mode?: "
|
|
338
|
+
dark_mode?: "auto" | "light" | "dark" | undefined;
|
|
339
339
|
};
|
|
340
340
|
outputFormat: "json";
|
|
341
341
|
status: 200;
|
|
@@ -370,7 +370,7 @@ export declare const brandingRoutes: OpenAPIHono<{
|
|
|
370
370
|
};
|
|
371
371
|
output: {};
|
|
372
372
|
outputFormat: string;
|
|
373
|
-
status:
|
|
373
|
+
status: 400;
|
|
374
374
|
} | {
|
|
375
375
|
input: {
|
|
376
376
|
header: {
|
|
@@ -383,7 +383,7 @@ export declare const brandingRoutes: OpenAPIHono<{
|
|
|
383
383
|
};
|
|
384
384
|
output: {};
|
|
385
385
|
outputFormat: string;
|
|
386
|
-
status:
|
|
386
|
+
status: 204;
|
|
387
387
|
};
|
|
388
388
|
};
|
|
389
389
|
} & {
|