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
|
@@ -706,8 +706,8 @@ export declare const organizationRoutes: OpenAPIHono<{
|
|
|
706
706
|
connection_id?: string | undefined;
|
|
707
707
|
app_metadata?: Record<string, any> | undefined;
|
|
708
708
|
user_metadata?: Record<string, any> | undefined;
|
|
709
|
-
roles?: string[] | undefined;
|
|
710
709
|
ttl_sec?: number | undefined;
|
|
710
|
+
roles?: string[] | undefined;
|
|
711
711
|
send_invitation_email?: boolean | undefined;
|
|
712
712
|
};
|
|
713
713
|
};
|
|
@@ -345,7 +345,7 @@ export declare function initJSXRoute(ctx: Context<{
|
|
|
345
345
|
active?: boolean | undefined;
|
|
346
346
|
} | undefined;
|
|
347
347
|
signup?: {
|
|
348
|
-
status?: "optional" | "
|
|
348
|
+
status?: "optional" | "required" | "disabled" | undefined;
|
|
349
349
|
verification?: {
|
|
350
350
|
active?: boolean | undefined;
|
|
351
351
|
} | undefined;
|
|
@@ -362,7 +362,7 @@ export declare function initJSXRoute(ctx: Context<{
|
|
|
362
362
|
active?: boolean | undefined;
|
|
363
363
|
} | undefined;
|
|
364
364
|
signup?: {
|
|
365
|
-
status?: "optional" | "
|
|
365
|
+
status?: "optional" | "required" | "disabled" | undefined;
|
|
366
366
|
} | undefined;
|
|
367
367
|
validation?: {
|
|
368
368
|
max_length?: number | undefined;
|
|
@@ -379,7 +379,7 @@ export declare function initJSXRoute(ctx: Context<{
|
|
|
379
379
|
active?: boolean | undefined;
|
|
380
380
|
} | undefined;
|
|
381
381
|
signup?: {
|
|
382
|
-
status?: "optional" | "
|
|
382
|
+
status?: "optional" | "required" | "disabled" | undefined;
|
|
383
383
|
} | undefined;
|
|
384
384
|
} | undefined;
|
|
385
385
|
} | undefined;
|
|
@@ -436,7 +436,7 @@ export declare function initJSXRoute(ctx: Context<{
|
|
|
436
436
|
custom_login_page_preview?: string | undefined;
|
|
437
437
|
form_template?: string | undefined;
|
|
438
438
|
addons?: Record<string, any> | undefined;
|
|
439
|
-
token_endpoint_auth_method?: "
|
|
439
|
+
token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | "private_key_jwt" | undefined;
|
|
440
440
|
client_metadata?: Record<string, string> | undefined;
|
|
441
441
|
hide_sign_up_disabled_error?: boolean | undefined;
|
|
442
442
|
mobile?: Record<string, any> | undefined;
|
|
@@ -1042,7 +1042,7 @@ export declare function initJSXRouteWithSession(ctx: Context<{
|
|
|
1042
1042
|
active?: boolean | undefined;
|
|
1043
1043
|
} | undefined;
|
|
1044
1044
|
signup?: {
|
|
1045
|
-
status?: "optional" | "
|
|
1045
|
+
status?: "optional" | "required" | "disabled" | undefined;
|
|
1046
1046
|
verification?: {
|
|
1047
1047
|
active?: boolean | undefined;
|
|
1048
1048
|
} | undefined;
|
|
@@ -1059,7 +1059,7 @@ export declare function initJSXRouteWithSession(ctx: Context<{
|
|
|
1059
1059
|
active?: boolean | undefined;
|
|
1060
1060
|
} | undefined;
|
|
1061
1061
|
signup?: {
|
|
1062
|
-
status?: "optional" | "
|
|
1062
|
+
status?: "optional" | "required" | "disabled" | undefined;
|
|
1063
1063
|
} | undefined;
|
|
1064
1064
|
validation?: {
|
|
1065
1065
|
max_length?: number | undefined;
|
|
@@ -1076,7 +1076,7 @@ export declare function initJSXRouteWithSession(ctx: Context<{
|
|
|
1076
1076
|
active?: boolean | undefined;
|
|
1077
1077
|
} | undefined;
|
|
1078
1078
|
signup?: {
|
|
1079
|
-
status?: "optional" | "
|
|
1079
|
+
status?: "optional" | "required" | "disabled" | undefined;
|
|
1080
1080
|
} | undefined;
|
|
1081
1081
|
} | undefined;
|
|
1082
1082
|
} | undefined;
|
|
@@ -1133,7 +1133,7 @@ export declare function initJSXRouteWithSession(ctx: Context<{
|
|
|
1133
1133
|
custom_login_page_preview?: string | undefined;
|
|
1134
1134
|
form_template?: string | undefined;
|
|
1135
1135
|
addons?: Record<string, any> | undefined;
|
|
1136
|
-
token_endpoint_auth_method?: "
|
|
1136
|
+
token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | "private_key_jwt" | undefined;
|
|
1137
1137
|
client_metadata?: Record<string, string> | undefined;
|
|
1138
1138
|
hide_sign_up_disabled_error?: boolean | undefined;
|
|
1139
1139
|
mobile?: Record<string, any> | undefined;
|
|
@@ -43,7 +43,7 @@ export declare const flowApiRoutes: OpenAPIHono<{
|
|
|
43
43
|
hint?: string | undefined;
|
|
44
44
|
messages?: {
|
|
45
45
|
text: string;
|
|
46
|
-
type: "
|
|
46
|
+
type: "success" | "error" | "info" | "warning";
|
|
47
47
|
id?: number | undefined;
|
|
48
48
|
}[] | undefined;
|
|
49
49
|
}[];
|
|
@@ -51,7 +51,7 @@ export declare const flowApiRoutes: OpenAPIHono<{
|
|
|
51
51
|
description?: string | undefined;
|
|
52
52
|
messages?: {
|
|
53
53
|
text: string;
|
|
54
|
-
type: "
|
|
54
|
+
type: "success" | "error" | "info" | "warning";
|
|
55
55
|
id?: number | undefined;
|
|
56
56
|
}[] | undefined;
|
|
57
57
|
links?: {
|
|
@@ -123,7 +123,7 @@ export declare const flowApiRoutes: OpenAPIHono<{
|
|
|
123
123
|
hint?: string | undefined;
|
|
124
124
|
messages?: {
|
|
125
125
|
text: string;
|
|
126
|
-
type: "
|
|
126
|
+
type: "success" | "error" | "info" | "warning";
|
|
127
127
|
id?: number | undefined;
|
|
128
128
|
}[] | undefined;
|
|
129
129
|
}[];
|
|
@@ -131,7 +131,7 @@ export declare const flowApiRoutes: OpenAPIHono<{
|
|
|
131
131
|
description?: string | undefined;
|
|
132
132
|
messages?: {
|
|
133
133
|
text: string;
|
|
134
|
-
type: "
|
|
134
|
+
type: "success" | "error" | "info" | "warning";
|
|
135
135
|
id?: number | undefined;
|
|
136
136
|
}[] | undefined;
|
|
137
137
|
links?: {
|
|
@@ -220,7 +220,7 @@ export declare const flowApiRoutes: OpenAPIHono<{
|
|
|
220
220
|
hint?: string | undefined;
|
|
221
221
|
messages?: {
|
|
222
222
|
text: string;
|
|
223
|
-
type: "
|
|
223
|
+
type: "success" | "error" | "info" | "warning";
|
|
224
224
|
id?: number | undefined;
|
|
225
225
|
}[] | undefined;
|
|
226
226
|
}[];
|
|
@@ -228,7 +228,7 @@ export declare const flowApiRoutes: OpenAPIHono<{
|
|
|
228
228
|
description?: string | undefined;
|
|
229
229
|
messages?: {
|
|
230
230
|
text: string;
|
|
231
|
-
type: "
|
|
231
|
+
type: "success" | "error" | "info" | "warning";
|
|
232
232
|
id?: number | undefined;
|
|
233
233
|
}[] | undefined;
|
|
234
234
|
links?: {
|
|
@@ -335,7 +335,7 @@ export declare const flowApiRoutes: OpenAPIHono<{
|
|
|
335
335
|
hint?: string | undefined;
|
|
336
336
|
messages?: {
|
|
337
337
|
text: string;
|
|
338
|
-
type: "
|
|
338
|
+
type: "success" | "error" | "info" | "warning";
|
|
339
339
|
id?: number | undefined;
|
|
340
340
|
}[] | undefined;
|
|
341
341
|
}[];
|
|
@@ -343,7 +343,7 @@ export declare const flowApiRoutes: OpenAPIHono<{
|
|
|
343
343
|
description?: string | undefined;
|
|
344
344
|
messages?: {
|
|
345
345
|
text: string;
|
|
346
|
-
type: "
|
|
346
|
+
type: "success" | "error" | "info" | "warning";
|
|
347
347
|
id?: number | undefined;
|
|
348
348
|
}[] | undefined;
|
|
349
349
|
links?: {
|
|
@@ -30,7 +30,7 @@ export declare const identifierRoutes: OpenAPIHono<{
|
|
|
30
30
|
} & {
|
|
31
31
|
form: {
|
|
32
32
|
username: string;
|
|
33
|
-
login_selection?: "
|
|
33
|
+
login_selection?: "code" | "password" | undefined;
|
|
34
34
|
};
|
|
35
35
|
};
|
|
36
36
|
output: {};
|
|
@@ -44,7 +44,7 @@ export declare const identifierRoutes: OpenAPIHono<{
|
|
|
44
44
|
} & {
|
|
45
45
|
form: {
|
|
46
46
|
username: string;
|
|
47
|
-
login_selection?: "
|
|
47
|
+
login_selection?: "code" | "password" | undefined;
|
|
48
48
|
};
|
|
49
49
|
};
|
|
50
50
|
output: {};
|
|
@@ -515,7 +515,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
515
515
|
} & {
|
|
516
516
|
form: {
|
|
517
517
|
username: string;
|
|
518
|
-
login_selection?: "
|
|
518
|
+
login_selection?: "code" | "password" | undefined;
|
|
519
519
|
};
|
|
520
520
|
};
|
|
521
521
|
output: {};
|
|
@@ -529,7 +529,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
529
529
|
} & {
|
|
530
530
|
form: {
|
|
531
531
|
username: string;
|
|
532
|
-
login_selection?: "
|
|
532
|
+
login_selection?: "code" | "password" | undefined;
|
|
533
533
|
};
|
|
534
534
|
};
|
|
535
535
|
output: {};
|