authhero 9.44.0 → 9.44.2
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 +85 -78
- package/dist/authhero.d.ts +357 -355
- package/dist/authhero.mjs +7918 -7822
- package/dist/tsconfig.types.tsbuildinfo +1 -1
- package/dist/types/helpers/tenant-export-import/redact.d.ts +3 -0
- package/dist/types/helpers/tenant-export-import/types.d.ts +5 -0
- package/dist/types/index.d.ts +357 -355
- package/dist/types/routes/auth-api/index.d.ts +30 -30
- package/dist/types/routes/management-api/branding.d.ts +1 -1
- package/dist/types/routes/management-api/index.d.ts +320 -318
- package/dist/types/routes/management-api/tenant-export-import.d.ts +2 -0
- package/dist/types/routes/universal-login/u2-index.d.ts +5 -5
- package/dist/types/routes/universal-login/u2-routes.d.ts +5 -5
- package/dist/types/routes/universal-login/universal-login-template.d.ts +3 -0
- package/package.json +5 -5
|
@@ -337,7 +337,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
337
337
|
scope?: string | undefined;
|
|
338
338
|
grant_types?: string[] | undefined;
|
|
339
339
|
response_types?: string[] | undefined;
|
|
340
|
-
token_endpoint_auth_method?: "none" | "
|
|
340
|
+
token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | "private_key_jwt" | undefined;
|
|
341
341
|
jwks_uri?: string | undefined;
|
|
342
342
|
jwks?: Record<string, unknown> | undefined;
|
|
343
343
|
software_id?: string | undefined;
|
|
@@ -435,7 +435,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
435
435
|
scope?: string | undefined;
|
|
436
436
|
grant_types?: string[] | undefined;
|
|
437
437
|
response_types?: string[] | undefined;
|
|
438
|
-
token_endpoint_auth_method?: "none" | "
|
|
438
|
+
token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | "private_key_jwt" | undefined;
|
|
439
439
|
jwks_uri?: string | undefined;
|
|
440
440
|
jwks?: Record<string, unknown> | undefined;
|
|
441
441
|
software_id?: string | undefined;
|
|
@@ -796,23 +796,23 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
796
796
|
connection: "email";
|
|
797
797
|
client_id: string;
|
|
798
798
|
email: string;
|
|
799
|
-
send: "
|
|
799
|
+
send: "link" | "code";
|
|
800
800
|
authParams: {
|
|
801
801
|
scope?: string | undefined;
|
|
802
802
|
state?: string | undefined;
|
|
803
|
+
audience?: string | undefined;
|
|
803
804
|
username?: string | undefined;
|
|
804
805
|
connection?: string | undefined;
|
|
805
|
-
|
|
806
|
+
prompt?: string | undefined;
|
|
807
|
+
organization?: string | undefined;
|
|
806
808
|
response_type?: import("@authhero/adapter-interfaces").AuthorizationResponseType | undefined;
|
|
807
809
|
response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
|
|
808
810
|
redirect_uri?: string | undefined;
|
|
809
|
-
|
|
810
|
-
|
|
811
|
+
ui_locales?: string | undefined;
|
|
812
|
+
act_as?: string | undefined;
|
|
811
813
|
nonce?: string | undefined;
|
|
812
|
-
prompt?: string | undefined;
|
|
813
814
|
code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined;
|
|
814
815
|
code_challenge?: string | undefined;
|
|
815
|
-
ui_locales?: string | undefined;
|
|
816
816
|
max_age?: number | undefined;
|
|
817
817
|
acr_values?: string | undefined;
|
|
818
818
|
claims?: {
|
|
@@ -833,23 +833,23 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
833
833
|
client_id: string;
|
|
834
834
|
connection: "sms";
|
|
835
835
|
phone_number: string;
|
|
836
|
-
send: "
|
|
836
|
+
send: "link" | "code";
|
|
837
837
|
authParams: {
|
|
838
838
|
scope?: string | undefined;
|
|
839
839
|
state?: string | undefined;
|
|
840
|
+
audience?: string | undefined;
|
|
840
841
|
username?: string | undefined;
|
|
841
842
|
connection?: string | undefined;
|
|
842
|
-
|
|
843
|
+
prompt?: string | undefined;
|
|
844
|
+
organization?: string | undefined;
|
|
843
845
|
response_type?: import("@authhero/adapter-interfaces").AuthorizationResponseType | undefined;
|
|
844
846
|
response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
|
|
845
847
|
redirect_uri?: string | undefined;
|
|
846
|
-
|
|
847
|
-
|
|
848
|
+
ui_locales?: string | undefined;
|
|
849
|
+
act_as?: string | undefined;
|
|
848
850
|
nonce?: string | undefined;
|
|
849
|
-
prompt?: string | undefined;
|
|
850
851
|
code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined;
|
|
851
852
|
code_challenge?: string | undefined;
|
|
852
|
-
ui_locales?: string | undefined;
|
|
853
853
|
max_age?: number | undefined;
|
|
854
854
|
acr_values?: string | undefined;
|
|
855
855
|
claims?: {
|
|
@@ -980,14 +980,14 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
980
980
|
input: {
|
|
981
981
|
form: {
|
|
982
982
|
token: string;
|
|
983
|
-
token_type_hint?: "
|
|
983
|
+
token_type_hint?: "access_token" | "refresh_token" | undefined;
|
|
984
984
|
client_id?: string | undefined;
|
|
985
985
|
client_secret?: string | undefined;
|
|
986
986
|
};
|
|
987
987
|
} & {
|
|
988
988
|
json: {
|
|
989
989
|
token: string;
|
|
990
|
-
token_type_hint?: "
|
|
990
|
+
token_type_hint?: "access_token" | "refresh_token" | undefined;
|
|
991
991
|
client_id?: string | undefined;
|
|
992
992
|
client_secret?: string | undefined;
|
|
993
993
|
};
|
|
@@ -999,14 +999,14 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
999
999
|
input: {
|
|
1000
1000
|
form: {
|
|
1001
1001
|
token: string;
|
|
1002
|
-
token_type_hint?: "
|
|
1002
|
+
token_type_hint?: "access_token" | "refresh_token" | undefined;
|
|
1003
1003
|
client_id?: string | undefined;
|
|
1004
1004
|
client_secret?: string | undefined;
|
|
1005
1005
|
};
|
|
1006
1006
|
} & {
|
|
1007
1007
|
json: {
|
|
1008
1008
|
token: string;
|
|
1009
|
-
token_type_hint?: "
|
|
1009
|
+
token_type_hint?: "access_token" | "refresh_token" | undefined;
|
|
1010
1010
|
client_id?: string | undefined;
|
|
1011
1011
|
client_secret?: string | undefined;
|
|
1012
1012
|
};
|
|
@@ -1021,14 +1021,14 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
1021
1021
|
input: {
|
|
1022
1022
|
form: {
|
|
1023
1023
|
token: string;
|
|
1024
|
-
token_type_hint?: "
|
|
1024
|
+
token_type_hint?: "access_token" | "refresh_token" | undefined;
|
|
1025
1025
|
client_id?: string | undefined;
|
|
1026
1026
|
client_secret?: string | undefined;
|
|
1027
1027
|
};
|
|
1028
1028
|
} & {
|
|
1029
1029
|
json: {
|
|
1030
1030
|
token: string;
|
|
1031
|
-
token_type_hint?: "
|
|
1031
|
+
token_type_hint?: "access_token" | "refresh_token" | undefined;
|
|
1032
1032
|
client_id?: string | undefined;
|
|
1033
1033
|
client_secret?: string | undefined;
|
|
1034
1034
|
};
|
|
@@ -1215,7 +1215,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
1215
1215
|
client_id: string;
|
|
1216
1216
|
username: string;
|
|
1217
1217
|
otp: string;
|
|
1218
|
-
realm: "
|
|
1218
|
+
realm: "sms" | "email";
|
|
1219
1219
|
scope?: string | undefined;
|
|
1220
1220
|
audience?: string | undefined;
|
|
1221
1221
|
} | {
|
|
@@ -1283,7 +1283,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
1283
1283
|
client_id: string;
|
|
1284
1284
|
username: string;
|
|
1285
1285
|
otp: string;
|
|
1286
|
-
realm: "
|
|
1286
|
+
realm: "sms" | "email";
|
|
1287
1287
|
scope?: string | undefined;
|
|
1288
1288
|
audience?: string | undefined;
|
|
1289
1289
|
} | {
|
|
@@ -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
|
scope?: string | undefined;
|
|
1361
1361
|
audience?: string | undefined;
|
|
1362
1362
|
} | {
|
|
@@ -1424,7 +1424,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
1424
1424
|
client_id: string;
|
|
1425
1425
|
username: string;
|
|
1426
1426
|
otp: string;
|
|
1427
|
-
realm: "
|
|
1427
|
+
realm: "sms" | "email";
|
|
1428
1428
|
scope?: string | undefined;
|
|
1429
1429
|
audience?: string | undefined;
|
|
1430
1430
|
} | {
|
|
@@ -1506,7 +1506,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
1506
1506
|
client_id: string;
|
|
1507
1507
|
username: string;
|
|
1508
1508
|
otp: string;
|
|
1509
|
-
realm: "
|
|
1509
|
+
realm: "sms" | "email";
|
|
1510
1510
|
scope?: string | undefined;
|
|
1511
1511
|
audience?: string | undefined;
|
|
1512
1512
|
} | {
|
|
@@ -1574,7 +1574,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
1574
1574
|
client_id: string;
|
|
1575
1575
|
username: string;
|
|
1576
1576
|
otp: string;
|
|
1577
|
-
realm: "
|
|
1577
|
+
realm: "sms" | "email";
|
|
1578
1578
|
scope?: string | undefined;
|
|
1579
1579
|
audience?: string | undefined;
|
|
1580
1580
|
} | {
|
|
@@ -1650,7 +1650,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
1650
1650
|
client_id: string;
|
|
1651
1651
|
username: string;
|
|
1652
1652
|
otp: string;
|
|
1653
|
-
realm: "
|
|
1653
|
+
realm: "sms" | "email";
|
|
1654
1654
|
scope?: string | undefined;
|
|
1655
1655
|
audience?: string | undefined;
|
|
1656
1656
|
} | {
|
|
@@ -1718,7 +1718,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
1718
1718
|
client_id: string;
|
|
1719
1719
|
username: string;
|
|
1720
1720
|
otp: string;
|
|
1721
|
-
realm: "
|
|
1721
|
+
realm: "sms" | "email";
|
|
1722
1722
|
scope?: string | undefined;
|
|
1723
1723
|
audience?: string | undefined;
|
|
1724
1724
|
} | {
|
|
@@ -1794,7 +1794,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
1794
1794
|
client_id: string;
|
|
1795
1795
|
username: string;
|
|
1796
1796
|
otp: string;
|
|
1797
|
-
realm: "
|
|
1797
|
+
realm: "sms" | "email";
|
|
1798
1798
|
scope?: string | undefined;
|
|
1799
1799
|
audience?: string | undefined;
|
|
1800
1800
|
} | {
|
|
@@ -1862,7 +1862,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
1862
1862
|
client_id: string;
|
|
1863
1863
|
username: string;
|
|
1864
1864
|
otp: string;
|
|
1865
|
-
realm: "
|
|
1865
|
+
realm: "sms" | "email";
|
|
1866
1866
|
scope?: string | undefined;
|
|
1867
1867
|
audience?: string | undefined;
|
|
1868
1868
|
} | {
|
|
@@ -578,7 +578,7 @@ export declare const brandingRoutes: OpenAPIHono<{
|
|
|
578
578
|
} & {
|
|
579
579
|
json: {
|
|
580
580
|
body?: string | undefined;
|
|
581
|
-
screen?: "error" | "
|
|
581
|
+
screen?: "error" | "password" | "login" | "identifier" | "signup" | "otp" | "mfa" | "consent" | undefined;
|
|
582
582
|
branding?: {
|
|
583
583
|
colors?: {
|
|
584
584
|
primary: string;
|