authhero 9.24.1 → 9.25.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 +109 -109
- package/dist/authhero.d.ts +605 -314
- package/dist/authhero.mjs +13421 -13259
- package/dist/tsconfig.types.tsbuildinfo +1 -1
- package/dist/types/authentication-flows/passwordless.d.ts +6 -2
- package/dist/types/helpers/audit-target-types.d.ts +26 -0
- package/dist/types/helpers/client.d.ts +12 -0
- package/dist/types/helpers/reserved-claims.d.ts +2 -2
- package/dist/types/index.d.ts +590 -314
- package/dist/types/routes/auth-api/account.d.ts +2 -2
- package/dist/types/routes/auth-api/index.d.ts +15 -15
- package/dist/types/routes/auth-api/passwordless.d.ts +6 -6
- package/dist/types/routes/auth-api/revoke.d.ts +6 -6
- package/dist/types/routes/auth-api/well-known.d.ts +1 -1
- package/dist/types/routes/management-api/action-executions.d.ts +2 -2
- package/dist/types/routes/management-api/action-triggers.d.ts +8 -2
- package/dist/types/routes/management-api/actions.d.ts +45 -12
- package/dist/types/routes/management-api/branding.d.ts +13 -1
- package/dist/types/routes/management-api/clients.d.ts +12 -6
- package/dist/types/routes/management-api/connections.d.ts +25 -1
- package/dist/types/routes/management-api/custom-domains.d.ts +6 -6
- package/dist/types/routes/management-api/emails.d.ts +18 -0
- package/dist/types/routes/management-api/failed-events.d.ts +26 -2
- package/dist/types/routes/management-api/flows.d.ts +8 -8
- package/dist/types/routes/management-api/forms.d.ts +144 -144
- package/dist/types/routes/management-api/guardian.d.ts +5 -5
- package/dist/types/routes/management-api/helpers.d.ts +1 -1
- package/dist/types/routes/management-api/hooks.d.ts +105 -0
- package/dist/types/routes/management-api/index.d.ts +568 -292
- package/dist/types/routes/management-api/keys.d.ts +16 -16
- package/dist/types/routes/management-api/log-streams.d.ts +6 -6
- package/dist/types/routes/management-api/logs.d.ts +4 -4
- package/dist/types/routes/management-api/organizations.d.ts +5 -5
- package/dist/types/routes/management-api/prompts.d.ts +12 -6
- package/dist/types/routes/management-api/resource-servers.d.ts +44 -20
- package/dist/types/routes/management-api/roles.d.ts +1 -1
- package/dist/types/routes/management-api/tenant-export-import.d.ts +5 -5
- package/dist/types/routes/management-api/tenants.d.ts +7 -3
- package/dist/types/routes/management-api/token-exchange-profiles.d.ts +6 -6
- package/dist/types/routes/management-api/users.d.ts +29 -29
- package/dist/types/routes/universal-login/common.d.ts +24 -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/dist/types/routes/universal-login/screens/login-partials.d.ts +8 -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/state-machines/login-session.d.ts +1 -1
- package/dist/types/types/Variables.d.ts +3 -0
- package/dist/types/utils/jwks.d.ts +2 -2
- package/dist/types/utils/jwt.d.ts +2 -0
- package/package.json +6 -6
|
@@ -40,7 +40,7 @@ export declare const tokenExchangeProfilesRoutes: OpenAPIHono<{
|
|
|
40
40
|
jwks?: {
|
|
41
41
|
keys: {
|
|
42
42
|
kty: "EC" | "RSA" | "oct";
|
|
43
|
-
alg?: "
|
|
43
|
+
alg?: "HS256" | "HS384" | "HS512" | "RS256" | "RS384" | "RS512" | "ES256" | "ES384" | "ES512" | undefined;
|
|
44
44
|
kid?: string | undefined;
|
|
45
45
|
use?: "sig" | "enc" | undefined;
|
|
46
46
|
n?: string | undefined;
|
|
@@ -99,7 +99,7 @@ export declare const tokenExchangeProfilesRoutes: OpenAPIHono<{
|
|
|
99
99
|
jwks?: {
|
|
100
100
|
keys: {
|
|
101
101
|
kty: "EC" | "RSA" | "oct";
|
|
102
|
-
alg?: "
|
|
102
|
+
alg?: "HS256" | "HS384" | "HS512" | "RS256" | "RS384" | "RS512" | "ES256" | "ES384" | "ES512" | undefined;
|
|
103
103
|
kid?: string | undefined;
|
|
104
104
|
use?: "sig" | "enc" | undefined;
|
|
105
105
|
n?: string | undefined;
|
|
@@ -147,7 +147,7 @@ export declare const tokenExchangeProfilesRoutes: OpenAPIHono<{
|
|
|
147
147
|
jwks?: {
|
|
148
148
|
keys: {
|
|
149
149
|
kty: "EC" | "RSA" | "oct";
|
|
150
|
-
alg?: "
|
|
150
|
+
alg?: "HS256" | "HS384" | "HS512" | "RS256" | "RS384" | "RS512" | "ES256" | "ES384" | "ES512" | undefined;
|
|
151
151
|
kid?: string | undefined;
|
|
152
152
|
use?: "sig" | "enc" | undefined;
|
|
153
153
|
n?: string | undefined;
|
|
@@ -191,7 +191,7 @@ export declare const tokenExchangeProfilesRoutes: OpenAPIHono<{
|
|
|
191
191
|
jwks?: {
|
|
192
192
|
keys: {
|
|
193
193
|
kty: "EC" | "RSA" | "oct";
|
|
194
|
-
alg?: "
|
|
194
|
+
alg?: "HS256" | "HS384" | "HS512" | "RS256" | "RS384" | "RS512" | "ES256" | "ES384" | "ES512" | undefined;
|
|
195
195
|
kid?: string | undefined;
|
|
196
196
|
use?: "sig" | "enc" | undefined;
|
|
197
197
|
n?: string | undefined;
|
|
@@ -241,7 +241,7 @@ export declare const tokenExchangeProfilesRoutes: OpenAPIHono<{
|
|
|
241
241
|
jwks?: {
|
|
242
242
|
keys: {
|
|
243
243
|
kty: "EC" | "RSA" | "oct";
|
|
244
|
-
alg?: "
|
|
244
|
+
alg?: "HS256" | "HS384" | "HS512" | "RS256" | "RS384" | "RS512" | "ES256" | "ES384" | "ES512" | undefined;
|
|
245
245
|
kid?: string | undefined;
|
|
246
246
|
use?: "sig" | "enc" | undefined;
|
|
247
247
|
n?: string | undefined;
|
|
@@ -285,7 +285,7 @@ export declare const tokenExchangeProfilesRoutes: OpenAPIHono<{
|
|
|
285
285
|
jwks?: {
|
|
286
286
|
keys: {
|
|
287
287
|
kty: "EC" | "RSA" | "oct";
|
|
288
|
-
alg?: "
|
|
288
|
+
alg?: "HS256" | "HS384" | "HS512" | "RS256" | "RS384" | "RS512" | "ES256" | "ES384" | "ES512" | undefined;
|
|
289
289
|
kid?: string | undefined;
|
|
290
290
|
use?: "sig" | "enc" | undefined;
|
|
291
291
|
n?: string | undefined;
|
|
@@ -26,8 +26,8 @@ export declare const userRoutes: OpenAPIHono<{
|
|
|
26
26
|
output: {
|
|
27
27
|
created_at: string;
|
|
28
28
|
updated_at: string;
|
|
29
|
-
connection: string;
|
|
30
29
|
user_id: string;
|
|
30
|
+
connection: string;
|
|
31
31
|
email_verified: boolean;
|
|
32
32
|
provider: string;
|
|
33
33
|
is_social: boolean;
|
|
@@ -97,8 +97,8 @@ export declare const userRoutes: OpenAPIHono<{
|
|
|
97
97
|
users: {
|
|
98
98
|
created_at: string;
|
|
99
99
|
updated_at: string;
|
|
100
|
-
connection: string;
|
|
101
100
|
user_id: string;
|
|
101
|
+
connection: string;
|
|
102
102
|
email_verified: boolean;
|
|
103
103
|
provider: string;
|
|
104
104
|
is_social: boolean;
|
|
@@ -168,8 +168,8 @@ export declare const userRoutes: OpenAPIHono<{
|
|
|
168
168
|
users: {
|
|
169
169
|
created_at: string;
|
|
170
170
|
updated_at: string;
|
|
171
|
-
connection: string;
|
|
172
171
|
user_id: string;
|
|
172
|
+
connection: string;
|
|
173
173
|
email_verified: boolean;
|
|
174
174
|
provider: string;
|
|
175
175
|
is_social: boolean;
|
|
@@ -254,8 +254,8 @@ export declare const userRoutes: OpenAPIHono<{
|
|
|
254
254
|
output: {
|
|
255
255
|
created_at: string;
|
|
256
256
|
updated_at: string;
|
|
257
|
-
connection: string;
|
|
258
257
|
user_id: string;
|
|
258
|
+
connection: string;
|
|
259
259
|
email_verified: boolean;
|
|
260
260
|
provider: string;
|
|
261
261
|
is_social: boolean;
|
|
@@ -394,8 +394,8 @@ export declare const userRoutes: OpenAPIHono<{
|
|
|
394
394
|
output: {
|
|
395
395
|
created_at: string;
|
|
396
396
|
updated_at: string;
|
|
397
|
-
connection: string;
|
|
398
397
|
user_id: string;
|
|
398
|
+
connection: string;
|
|
399
399
|
email_verified: boolean;
|
|
400
400
|
provider: string;
|
|
401
401
|
is_social: boolean;
|
|
@@ -589,8 +589,8 @@ export declare const userRoutes: OpenAPIHono<{
|
|
|
589
589
|
output: {
|
|
590
590
|
created_at: string;
|
|
591
591
|
updated_at: string;
|
|
592
|
-
connection: string;
|
|
593
592
|
user_id: string;
|
|
593
|
+
connection: string;
|
|
594
594
|
email_verified: boolean;
|
|
595
595
|
provider: string;
|
|
596
596
|
is_social: boolean;
|
|
@@ -854,9 +854,9 @@ export declare const userRoutes: OpenAPIHono<{
|
|
|
854
854
|
};
|
|
855
855
|
};
|
|
856
856
|
output: {
|
|
857
|
+
user_id: string;
|
|
857
858
|
id: string;
|
|
858
859
|
created_at: string;
|
|
859
|
-
user_id: string;
|
|
860
860
|
client_id: string;
|
|
861
861
|
rotating: boolean;
|
|
862
862
|
device: {
|
|
@@ -872,22 +872,25 @@ export declare const userRoutes: OpenAPIHono<{
|
|
|
872
872
|
audience: string;
|
|
873
873
|
scopes: string;
|
|
874
874
|
}[];
|
|
875
|
-
revoked_at?: string | undefined;
|
|
876
875
|
expires_at?: string | undefined;
|
|
877
|
-
idle_expires_at?: string | undefined;
|
|
878
876
|
session_id?: string | undefined;
|
|
879
|
-
organization?: string | undefined;
|
|
880
877
|
auth_connection?: string | undefined;
|
|
881
878
|
auth_strategy?: {
|
|
882
879
|
strategy: string;
|
|
883
880
|
strategy_type: string;
|
|
884
881
|
} | undefined;
|
|
882
|
+
revoked_at?: string | undefined;
|
|
883
|
+
organization?: string | undefined;
|
|
884
|
+
idle_expires_at?: string | undefined;
|
|
885
885
|
last_exchanged_at?: string | undefined;
|
|
886
886
|
}[] | {
|
|
887
|
+
start: number;
|
|
888
|
+
limit: number;
|
|
889
|
+
length: number;
|
|
887
890
|
tokens: {
|
|
891
|
+
user_id: string;
|
|
888
892
|
id: string;
|
|
889
893
|
created_at: string;
|
|
890
|
-
user_id: string;
|
|
891
894
|
client_id: string;
|
|
892
895
|
rotating: boolean;
|
|
893
896
|
device: {
|
|
@@ -903,27 +906,25 @@ export declare const userRoutes: OpenAPIHono<{
|
|
|
903
906
|
audience: string;
|
|
904
907
|
scopes: string;
|
|
905
908
|
}[];
|
|
906
|
-
revoked_at?: string | undefined;
|
|
907
909
|
expires_at?: string | undefined;
|
|
908
|
-
idle_expires_at?: string | undefined;
|
|
909
910
|
session_id?: string | undefined;
|
|
910
|
-
organization?: string | undefined;
|
|
911
911
|
auth_connection?: string | undefined;
|
|
912
912
|
auth_strategy?: {
|
|
913
913
|
strategy: string;
|
|
914
914
|
strategy_type: string;
|
|
915
915
|
} | undefined;
|
|
916
|
+
revoked_at?: string | undefined;
|
|
917
|
+
organization?: string | undefined;
|
|
918
|
+
idle_expires_at?: string | undefined;
|
|
916
919
|
last_exchanged_at?: string | undefined;
|
|
917
920
|
}[];
|
|
921
|
+
total?: number | undefined;
|
|
918
922
|
next?: string | undefined;
|
|
919
923
|
} | {
|
|
920
|
-
start: number;
|
|
921
|
-
limit: number;
|
|
922
|
-
length: number;
|
|
923
924
|
tokens: {
|
|
925
|
+
user_id: string;
|
|
924
926
|
id: string;
|
|
925
927
|
created_at: string;
|
|
926
|
-
user_id: string;
|
|
927
928
|
client_id: string;
|
|
928
929
|
rotating: boolean;
|
|
929
930
|
device: {
|
|
@@ -939,19 +940,18 @@ export declare const userRoutes: OpenAPIHono<{
|
|
|
939
940
|
audience: string;
|
|
940
941
|
scopes: string;
|
|
941
942
|
}[];
|
|
942
|
-
revoked_at?: string | undefined;
|
|
943
943
|
expires_at?: string | undefined;
|
|
944
|
-
idle_expires_at?: string | undefined;
|
|
945
944
|
session_id?: string | undefined;
|
|
946
|
-
organization?: string | undefined;
|
|
947
945
|
auth_connection?: string | undefined;
|
|
948
946
|
auth_strategy?: {
|
|
949
947
|
strategy: string;
|
|
950
948
|
strategy_type: string;
|
|
951
949
|
} | undefined;
|
|
950
|
+
revoked_at?: string | undefined;
|
|
951
|
+
organization?: string | undefined;
|
|
952
|
+
idle_expires_at?: string | undefined;
|
|
952
953
|
last_exchanged_at?: string | undefined;
|
|
953
954
|
}[];
|
|
954
|
-
total?: number | undefined;
|
|
955
955
|
next?: string | undefined;
|
|
956
956
|
};
|
|
957
957
|
outputFormat: "json";
|
|
@@ -1000,7 +1000,7 @@ export declare const userRoutes: OpenAPIHono<{
|
|
|
1000
1000
|
};
|
|
1001
1001
|
};
|
|
1002
1002
|
output: {
|
|
1003
|
-
type: "
|
|
1003
|
+
type: "acls_summary" | "actions_execution_failed" | "api_limit" | "api_limit_warning" | "appi" | "ciba_exchange_failed" | "ciba_exchange_succeeded" | "ciba_start_failed" | "ciba_start_succeeded" | "cls" | "cs" | "depnote" | "cfgdiff" | "f" | "fc" | "fce" | "fco" | "fcoa" | "fcp" | "fcph" | "fcpn" | "fcpr" | "fcpro" | "fcu" | "fd" | "fdeac" | "fdeaz" | "fdecc" | "fdu" | "feacft" | "feccft" | "fecte" | "fede" | "federated_logout_failed" | "fens" | "feoobft" | "feotpft" | "fepft" | "fepotpft" | "fercft" | "ferrt" | "fertft" | "festft" | "fh" | "fimp" | "fi" | "flo" | "flows_execution_completed" | "flows_execution_failed" | "fn" | "forms_submission_failed" | "forms_submission_succeeded" | "fp" | "fpar" | "fpurh" | "fs" | "fsa" | "fu" | "fui" | "fv" | "fvr" | "gd_auth_email_verification" | "gd_auth_fail_email_verification" | "gd_auth_failed" | "gd_auth_rejected" | "gd_auth_succeed" | "gd_enrollment_complete" | "gd_otp_rate_limit_exceed" | "gd_recovery_failed" | "gd_recovery_rate_limit_exceed" | "gd_recovery_succeed" | "gd_send_email" | "gd_send_email_verification" | "gd_send_email_verification_failure" | "gd_send_pn" | "gd_send_pn_failure" | "gd_send_sms" | "gd_send_sms_failure" | "gd_send_voice" | "gd_send_voice_failure" | "gd_start_auth" | "gd_start_enroll" | "gd_start_enroll_failed" | "gd_tenant_update" | "gd_unenroll" | "gd_update_device_account" | "gd_webauthn_challenge_failed" | "gd_webauthn_enrollment_failed" | "kms_key_management_failure" | "kms_key_management_success" | "kms_key_state_changed" | "limit_delegation" | "limit_mu" | "limit_sul" | "limit_wc" | "i" | "mfar" | "mgmt_api_read" | "my_account_authentication_method_failed" | "my_account_authentication_method_succeeded" | "oidc_backchannel_logout_failed" | "oidc_backchannel_logout_succeeded" | "organization_member_added" | "passkey_challenge_failed" | "passkey_challenge_started" | "pla" | "pwd_leak" | "reset_pwd_leak" | "resource_cleanup" | "rich_consents_access_error" | "s" | "sapi" | "fapi" | "sce" | "scoa" | "scp" | "scpn" | "scpr" | "scu" | "scv" | "sd" | "sdu" | "seacft" | "seccft" | "secte" | "sede" | "sens" | "seoobft" | "seotpft" | "sepotpft" | "sepft" | "sepkoobft" | "sepkotpft" | "sepkrcft" | "sercft" | "sertft" | "sestft" | "simp" | "si" | "signup_pwd_leak" | "slo" | "sh" | "spm" | "srrt" | "ss" | "ss_sso_failure" | "ss_sso_info" | "ss_sso_success" | "ssa" | "sscim" | "sui" | "sv" | "svr" | "too_many_records" | "ublkdu" | "universal_logout_failed" | "universal_logout_succeeded" | "w" | "wn" | "wum";
|
|
1004
1004
|
date: string;
|
|
1005
1005
|
isMobile: boolean;
|
|
1006
1006
|
log_id: string;
|
|
@@ -1035,11 +1035,8 @@ export declare const userRoutes: OpenAPIHono<{
|
|
|
1035
1035
|
continent_code: string;
|
|
1036
1036
|
} | undefined;
|
|
1037
1037
|
}[] | {
|
|
1038
|
-
start: number;
|
|
1039
|
-
limit: number;
|
|
1040
|
-
length: number;
|
|
1041
1038
|
logs: {
|
|
1042
|
-
type: "
|
|
1039
|
+
type: "acls_summary" | "actions_execution_failed" | "api_limit" | "api_limit_warning" | "appi" | "ciba_exchange_failed" | "ciba_exchange_succeeded" | "ciba_start_failed" | "ciba_start_succeeded" | "cls" | "cs" | "depnote" | "cfgdiff" | "f" | "fc" | "fce" | "fco" | "fcoa" | "fcp" | "fcph" | "fcpn" | "fcpr" | "fcpro" | "fcu" | "fd" | "fdeac" | "fdeaz" | "fdecc" | "fdu" | "feacft" | "feccft" | "fecte" | "fede" | "federated_logout_failed" | "fens" | "feoobft" | "feotpft" | "fepft" | "fepotpft" | "fercft" | "ferrt" | "fertft" | "festft" | "fh" | "fimp" | "fi" | "flo" | "flows_execution_completed" | "flows_execution_failed" | "fn" | "forms_submission_failed" | "forms_submission_succeeded" | "fp" | "fpar" | "fpurh" | "fs" | "fsa" | "fu" | "fui" | "fv" | "fvr" | "gd_auth_email_verification" | "gd_auth_fail_email_verification" | "gd_auth_failed" | "gd_auth_rejected" | "gd_auth_succeed" | "gd_enrollment_complete" | "gd_otp_rate_limit_exceed" | "gd_recovery_failed" | "gd_recovery_rate_limit_exceed" | "gd_recovery_succeed" | "gd_send_email" | "gd_send_email_verification" | "gd_send_email_verification_failure" | "gd_send_pn" | "gd_send_pn_failure" | "gd_send_sms" | "gd_send_sms_failure" | "gd_send_voice" | "gd_send_voice_failure" | "gd_start_auth" | "gd_start_enroll" | "gd_start_enroll_failed" | "gd_tenant_update" | "gd_unenroll" | "gd_update_device_account" | "gd_webauthn_challenge_failed" | "gd_webauthn_enrollment_failed" | "kms_key_management_failure" | "kms_key_management_success" | "kms_key_state_changed" | "limit_delegation" | "limit_mu" | "limit_sul" | "limit_wc" | "i" | "mfar" | "mgmt_api_read" | "my_account_authentication_method_failed" | "my_account_authentication_method_succeeded" | "oidc_backchannel_logout_failed" | "oidc_backchannel_logout_succeeded" | "organization_member_added" | "passkey_challenge_failed" | "passkey_challenge_started" | "pla" | "pwd_leak" | "reset_pwd_leak" | "resource_cleanup" | "rich_consents_access_error" | "s" | "sapi" | "fapi" | "sce" | "scoa" | "scp" | "scpn" | "scpr" | "scu" | "scv" | "sd" | "sdu" | "seacft" | "seccft" | "secte" | "sede" | "sens" | "seoobft" | "seotpft" | "sepotpft" | "sepft" | "sepkoobft" | "sepkotpft" | "sepkrcft" | "sercft" | "sertft" | "sestft" | "simp" | "si" | "signup_pwd_leak" | "slo" | "sh" | "spm" | "srrt" | "ss" | "ss_sso_failure" | "ss_sso_info" | "ss_sso_success" | "ssa" | "sscim" | "sui" | "sv" | "svr" | "too_many_records" | "ublkdu" | "universal_logout_failed" | "universal_logout_succeeded" | "w" | "wn" | "wum";
|
|
1043
1040
|
date: string;
|
|
1044
1041
|
isMobile: boolean;
|
|
1045
1042
|
log_id: string;
|
|
@@ -1074,11 +1071,13 @@ export declare const userRoutes: OpenAPIHono<{
|
|
|
1074
1071
|
continent_code: string;
|
|
1075
1072
|
} | undefined;
|
|
1076
1073
|
}[];
|
|
1077
|
-
total?: number | undefined;
|
|
1078
1074
|
next?: string | undefined;
|
|
1079
1075
|
} | {
|
|
1076
|
+
start: number;
|
|
1077
|
+
limit: number;
|
|
1078
|
+
length: number;
|
|
1080
1079
|
logs: {
|
|
1081
|
-
type: "
|
|
1080
|
+
type: "acls_summary" | "actions_execution_failed" | "api_limit" | "api_limit_warning" | "appi" | "ciba_exchange_failed" | "ciba_exchange_succeeded" | "ciba_start_failed" | "ciba_start_succeeded" | "cls" | "cs" | "depnote" | "cfgdiff" | "f" | "fc" | "fce" | "fco" | "fcoa" | "fcp" | "fcph" | "fcpn" | "fcpr" | "fcpro" | "fcu" | "fd" | "fdeac" | "fdeaz" | "fdecc" | "fdu" | "feacft" | "feccft" | "fecte" | "fede" | "federated_logout_failed" | "fens" | "feoobft" | "feotpft" | "fepft" | "fepotpft" | "fercft" | "ferrt" | "fertft" | "festft" | "fh" | "fimp" | "fi" | "flo" | "flows_execution_completed" | "flows_execution_failed" | "fn" | "forms_submission_failed" | "forms_submission_succeeded" | "fp" | "fpar" | "fpurh" | "fs" | "fsa" | "fu" | "fui" | "fv" | "fvr" | "gd_auth_email_verification" | "gd_auth_fail_email_verification" | "gd_auth_failed" | "gd_auth_rejected" | "gd_auth_succeed" | "gd_enrollment_complete" | "gd_otp_rate_limit_exceed" | "gd_recovery_failed" | "gd_recovery_rate_limit_exceed" | "gd_recovery_succeed" | "gd_send_email" | "gd_send_email_verification" | "gd_send_email_verification_failure" | "gd_send_pn" | "gd_send_pn_failure" | "gd_send_sms" | "gd_send_sms_failure" | "gd_send_voice" | "gd_send_voice_failure" | "gd_start_auth" | "gd_start_enroll" | "gd_start_enroll_failed" | "gd_tenant_update" | "gd_unenroll" | "gd_update_device_account" | "gd_webauthn_challenge_failed" | "gd_webauthn_enrollment_failed" | "kms_key_management_failure" | "kms_key_management_success" | "kms_key_state_changed" | "limit_delegation" | "limit_mu" | "limit_sul" | "limit_wc" | "i" | "mfar" | "mgmt_api_read" | "my_account_authentication_method_failed" | "my_account_authentication_method_succeeded" | "oidc_backchannel_logout_failed" | "oidc_backchannel_logout_succeeded" | "organization_member_added" | "passkey_challenge_failed" | "passkey_challenge_started" | "pla" | "pwd_leak" | "reset_pwd_leak" | "resource_cleanup" | "rich_consents_access_error" | "s" | "sapi" | "fapi" | "sce" | "scoa" | "scp" | "scpn" | "scpr" | "scu" | "scv" | "sd" | "sdu" | "seacft" | "seccft" | "secte" | "sede" | "sens" | "seoobft" | "seotpft" | "sepotpft" | "sepft" | "sepkoobft" | "sepkotpft" | "sepkrcft" | "sercft" | "sertft" | "sestft" | "simp" | "si" | "signup_pwd_leak" | "slo" | "sh" | "spm" | "srrt" | "ss" | "ss_sso_failure" | "ss_sso_info" | "ss_sso_success" | "ssa" | "sscim" | "sui" | "sv" | "svr" | "too_many_records" | "ublkdu" | "universal_logout_failed" | "universal_logout_succeeded" | "w" | "wn" | "wum";
|
|
1082
1081
|
date: string;
|
|
1083
1082
|
isMobile: boolean;
|
|
1084
1083
|
log_id: string;
|
|
@@ -1113,6 +1112,7 @@ export declare const userRoutes: OpenAPIHono<{
|
|
|
1113
1112
|
continent_code: string;
|
|
1114
1113
|
} | undefined;
|
|
1115
1114
|
}[];
|
|
1115
|
+
total?: number | undefined;
|
|
1116
1116
|
next?: string | undefined;
|
|
1117
1117
|
};
|
|
1118
1118
|
outputFormat: "json";
|
|
@@ -100,6 +100,9 @@ export declare function initJSXRoute(ctx: Context<{
|
|
|
100
100
|
url: string;
|
|
101
101
|
} | undefined;
|
|
102
102
|
dark_mode?: "dark" | "light" | "auto" | undefined;
|
|
103
|
+
scope?: "shared" | "local" | "platform" | undefined;
|
|
104
|
+
override?: "none" | "secrets" | "fields" | undefined;
|
|
105
|
+
enforce?: boolean | undefined;
|
|
103
106
|
} | null;
|
|
104
107
|
client: {
|
|
105
108
|
created_at: string;
|
|
@@ -121,6 +124,7 @@ export declare function initJSXRoute(ctx: Context<{
|
|
|
121
124
|
updated_at: string;
|
|
122
125
|
friendly_name: string;
|
|
123
126
|
id: string;
|
|
127
|
+
parent_tenant_id?: string | null | undefined;
|
|
124
128
|
audience?: string | undefined;
|
|
125
129
|
picture_url?: string | undefined;
|
|
126
130
|
support_email?: string | undefined;
|
|
@@ -224,7 +228,7 @@ export declare function initJSXRoute(ctx: Context<{
|
|
|
224
228
|
pushed_authorization_requests_supported?: boolean | undefined;
|
|
225
229
|
authorization_response_iss_parameter_supported?: boolean | undefined;
|
|
226
230
|
deployment_type?: "shared" | "wfp" | undefined;
|
|
227
|
-
provisioning_state?: "pending" | "
|
|
231
|
+
provisioning_state?: "pending" | "ready" | "failed" | undefined;
|
|
228
232
|
provisioning_error?: string | undefined;
|
|
229
233
|
provisioning_state_changed_at?: string | undefined;
|
|
230
234
|
bundle_configuration?: string | undefined;
|
|
@@ -272,7 +276,7 @@ export declare function initJSXRoute(ctx: Context<{
|
|
|
272
276
|
} | undefined;
|
|
273
277
|
} | undefined;
|
|
274
278
|
mfa?: {
|
|
275
|
-
policy?: "
|
|
279
|
+
policy?: "never" | "always" | undefined;
|
|
276
280
|
factors?: {
|
|
277
281
|
sms: boolean;
|
|
278
282
|
otp: boolean;
|
|
@@ -421,6 +425,9 @@ export declare function initJSXRoute(ctx: Context<{
|
|
|
421
425
|
} | undefined;
|
|
422
426
|
set_user_root_attributes?: "on_each_login" | "on_first_login" | "never_on_login" | undefined;
|
|
423
427
|
};
|
|
428
|
+
scope?: "shared" | "local" | "platform" | undefined;
|
|
429
|
+
override?: "none" | "secrets" | "fields" | undefined;
|
|
430
|
+
enforce?: boolean | undefined;
|
|
424
431
|
id?: string | undefined;
|
|
425
432
|
display_name?: string | undefined;
|
|
426
433
|
enabled_clients?: string[] | undefined;
|
|
@@ -496,6 +503,7 @@ export declare function initJSXRoute(ctx: Context<{
|
|
|
496
503
|
updated_at: string;
|
|
497
504
|
friendly_name: string;
|
|
498
505
|
id: string;
|
|
506
|
+
parent_tenant_id?: string | null | undefined;
|
|
499
507
|
audience?: string | undefined;
|
|
500
508
|
picture_url?: string | undefined;
|
|
501
509
|
support_email?: string | undefined;
|
|
@@ -599,7 +607,7 @@ export declare function initJSXRoute(ctx: Context<{
|
|
|
599
607
|
pushed_authorization_requests_supported?: boolean | undefined;
|
|
600
608
|
authorization_response_iss_parameter_supported?: boolean | undefined;
|
|
601
609
|
deployment_type?: "shared" | "wfp" | undefined;
|
|
602
|
-
provisioning_state?: "pending" | "
|
|
610
|
+
provisioning_state?: "pending" | "ready" | "failed" | undefined;
|
|
603
611
|
provisioning_error?: string | undefined;
|
|
604
612
|
provisioning_state_changed_at?: string | undefined;
|
|
605
613
|
bundle_configuration?: string | undefined;
|
|
@@ -647,7 +655,7 @@ export declare function initJSXRoute(ctx: Context<{
|
|
|
647
655
|
} | undefined;
|
|
648
656
|
} | undefined;
|
|
649
657
|
mfa?: {
|
|
650
|
-
policy?: "
|
|
658
|
+
policy?: "never" | "always" | undefined;
|
|
651
659
|
factors?: {
|
|
652
660
|
sms: boolean;
|
|
653
661
|
otp: boolean;
|
|
@@ -836,6 +844,9 @@ export declare function initJSXRouteWithSession(ctx: Context<{
|
|
|
836
844
|
url: string;
|
|
837
845
|
} | undefined;
|
|
838
846
|
dark_mode?: "dark" | "light" | "auto" | undefined;
|
|
847
|
+
scope?: "shared" | "local" | "platform" | undefined;
|
|
848
|
+
override?: "none" | "secrets" | "fields" | undefined;
|
|
849
|
+
enforce?: boolean | undefined;
|
|
839
850
|
} | null;
|
|
840
851
|
client: {
|
|
841
852
|
created_at: string;
|
|
@@ -857,6 +868,7 @@ export declare function initJSXRouteWithSession(ctx: Context<{
|
|
|
857
868
|
updated_at: string;
|
|
858
869
|
friendly_name: string;
|
|
859
870
|
id: string;
|
|
871
|
+
parent_tenant_id?: string | null | undefined;
|
|
860
872
|
audience?: string | undefined;
|
|
861
873
|
picture_url?: string | undefined;
|
|
862
874
|
support_email?: string | undefined;
|
|
@@ -960,7 +972,7 @@ export declare function initJSXRouteWithSession(ctx: Context<{
|
|
|
960
972
|
pushed_authorization_requests_supported?: boolean | undefined;
|
|
961
973
|
authorization_response_iss_parameter_supported?: boolean | undefined;
|
|
962
974
|
deployment_type?: "shared" | "wfp" | undefined;
|
|
963
|
-
provisioning_state?: "pending" | "
|
|
975
|
+
provisioning_state?: "pending" | "ready" | "failed" | undefined;
|
|
964
976
|
provisioning_error?: string | undefined;
|
|
965
977
|
provisioning_state_changed_at?: string | undefined;
|
|
966
978
|
bundle_configuration?: string | undefined;
|
|
@@ -1008,7 +1020,7 @@ export declare function initJSXRouteWithSession(ctx: Context<{
|
|
|
1008
1020
|
} | undefined;
|
|
1009
1021
|
} | undefined;
|
|
1010
1022
|
mfa?: {
|
|
1011
|
-
policy?: "
|
|
1023
|
+
policy?: "never" | "always" | undefined;
|
|
1012
1024
|
factors?: {
|
|
1013
1025
|
sms: boolean;
|
|
1014
1026
|
otp: boolean;
|
|
@@ -1157,6 +1169,9 @@ export declare function initJSXRouteWithSession(ctx: Context<{
|
|
|
1157
1169
|
} | undefined;
|
|
1158
1170
|
set_user_root_attributes?: "on_each_login" | "on_first_login" | "never_on_login" | undefined;
|
|
1159
1171
|
};
|
|
1172
|
+
scope?: "shared" | "local" | "platform" | undefined;
|
|
1173
|
+
override?: "none" | "secrets" | "fields" | undefined;
|
|
1174
|
+
enforce?: boolean | undefined;
|
|
1160
1175
|
id?: string | undefined;
|
|
1161
1176
|
display_name?: string | undefined;
|
|
1162
1177
|
enabled_clients?: string[] | undefined;
|
|
@@ -1301,6 +1316,7 @@ export declare function initJSXRouteWithSession(ctx: Context<{
|
|
|
1301
1316
|
updated_at: string;
|
|
1302
1317
|
friendly_name: string;
|
|
1303
1318
|
id: string;
|
|
1319
|
+
parent_tenant_id?: string | null | undefined;
|
|
1304
1320
|
audience?: string | undefined;
|
|
1305
1321
|
picture_url?: string | undefined;
|
|
1306
1322
|
support_email?: string | undefined;
|
|
@@ -1404,7 +1420,7 @@ export declare function initJSXRouteWithSession(ctx: Context<{
|
|
|
1404
1420
|
pushed_authorization_requests_supported?: boolean | undefined;
|
|
1405
1421
|
authorization_response_iss_parameter_supported?: boolean | undefined;
|
|
1406
1422
|
deployment_type?: "shared" | "wfp" | undefined;
|
|
1407
|
-
provisioning_state?: "pending" | "
|
|
1423
|
+
provisioning_state?: "pending" | "ready" | "failed" | undefined;
|
|
1408
1424
|
provisioning_error?: string | undefined;
|
|
1409
1425
|
provisioning_state_changed_at?: string | undefined;
|
|
1410
1426
|
bundle_configuration?: string | undefined;
|
|
@@ -1452,7 +1468,7 @@ export declare function initJSXRouteWithSession(ctx: Context<{
|
|
|
1452
1468
|
} | undefined;
|
|
1453
1469
|
} | undefined;
|
|
1454
1470
|
mfa?: {
|
|
1455
|
-
policy?: "
|
|
1471
|
+
policy?: "never" | "always" | undefined;
|
|
1456
1472
|
factors?: {
|
|
1457
1473
|
sms: boolean;
|
|
1458
1474
|
otp: boolean;
|
|
@@ -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?: "password" | "code" | 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?: "password" | "code" | 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?: "password" | "code" | 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?: "password" | "code" | undefined;
|
|
533
533
|
};
|
|
534
534
|
};
|
|
535
535
|
output: {};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Prompt partials on the login screens. Auth0 keys partials by prompt and
|
|
3
|
+
* screen; each login screen reads the one stored under its own prompt name
|
|
4
|
+
* (`login-id`, `login-password`, `login`), like the signup screen does.
|
|
5
|
+
*/
|
|
6
|
+
import type { UiScreen } from "@authhero/adapter-interfaces";
|
|
7
|
+
import type { ScreenContext } from "./types";
|
|
8
|
+
export declare function getLoginPartials(context: ScreenContext, prompt: "login-id" | "login-password" | "login"): Promise<UiScreen["partials"]>;
|
|
@@ -165,7 +165,7 @@ export default function createU2App(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
165
165
|
$get: {
|
|
166
166
|
input: {
|
|
167
167
|
param: {
|
|
168
|
-
screen: "
|
|
168
|
+
screen: "signup" | "impersonate" | "account" | "consent" | "login" | "reset-password" | "enter-password" | "try-connection-result" | "reset-password/request" | "reset-password/code" | "login/email-verification" | "login/email-verification-sent" | "login/identifier" | "login/email-otp-challenge" | "login/sms-otp-challenge" | "login/login-passwordless-identifier" | "mfa/login-options" | "mfa/totp-challenge" | "mfa/totp-enrollment" | "mfa/phone-challenge" | "mfa/phone-enrollment" | "passkey/challenge" | "passkey/enrollment" | "passkey/enrollment-nudge" | "account/profile" | "account/security" | "account/security/totp-enrollment" | "account/security/phone-enrollment" | "account/linked" | "account/delete" | "account/passkeys" | "connect/start" | "connect/select-tenant";
|
|
169
169
|
};
|
|
170
170
|
} & {
|
|
171
171
|
query: {
|
|
@@ -181,7 +181,7 @@ export default function createU2App(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
181
181
|
} | {
|
|
182
182
|
input: {
|
|
183
183
|
param: {
|
|
184
|
-
screen: "
|
|
184
|
+
screen: "signup" | "impersonate" | "account" | "consent" | "login" | "reset-password" | "enter-password" | "try-connection-result" | "reset-password/request" | "reset-password/code" | "login/email-verification" | "login/email-verification-sent" | "login/identifier" | "login/email-otp-challenge" | "login/sms-otp-challenge" | "login/login-passwordless-identifier" | "mfa/login-options" | "mfa/totp-challenge" | "mfa/totp-enrollment" | "mfa/phone-challenge" | "mfa/phone-enrollment" | "passkey/challenge" | "passkey/enrollment" | "passkey/enrollment-nudge" | "account/profile" | "account/security" | "account/security/totp-enrollment" | "account/security/phone-enrollment" | "account/linked" | "account/delete" | "account/passkeys" | "connect/start" | "connect/select-tenant";
|
|
185
185
|
};
|
|
186
186
|
} & {
|
|
187
187
|
query: {
|
|
@@ -197,7 +197,7 @@ export default function createU2App(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
197
197
|
} | {
|
|
198
198
|
input: {
|
|
199
199
|
param: {
|
|
200
|
-
screen: "
|
|
200
|
+
screen: "signup" | "impersonate" | "account" | "consent" | "login" | "reset-password" | "enter-password" | "try-connection-result" | "reset-password/request" | "reset-password/code" | "login/email-verification" | "login/email-verification-sent" | "login/identifier" | "login/email-otp-challenge" | "login/sms-otp-challenge" | "login/login-passwordless-identifier" | "mfa/login-options" | "mfa/totp-challenge" | "mfa/totp-enrollment" | "mfa/phone-challenge" | "mfa/phone-enrollment" | "passkey/challenge" | "passkey/enrollment" | "passkey/enrollment-nudge" | "account/profile" | "account/security" | "account/security/totp-enrollment" | "account/security/phone-enrollment" | "account/linked" | "account/delete" | "account/passkeys" | "connect/start" | "connect/select-tenant";
|
|
201
201
|
};
|
|
202
202
|
} & {
|
|
203
203
|
query: {
|
|
@@ -217,7 +217,7 @@ export default function createU2App(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
217
217
|
$post: {
|
|
218
218
|
input: {
|
|
219
219
|
param: {
|
|
220
|
-
screen: "
|
|
220
|
+
screen: "signup" | "impersonate" | "consent" | "login" | "reset-password" | "enter-password" | "reset-password/request" | "reset-password/code" | "login/email-verification" | "login/email-verification-sent" | "login/identifier" | "login/email-otp-challenge" | "login/sms-otp-challenge" | "login/login-passwordless-identifier" | "mfa/login-options" | "mfa/totp-challenge" | "mfa/totp-enrollment" | "mfa/phone-challenge" | "mfa/phone-enrollment" | "passkey/challenge" | "passkey/enrollment" | "passkey/enrollment-nudge" | "account/profile" | "account/security" | "account/security/totp-enrollment" | "account/security/phone-enrollment" | "account/linked" | "account/delete" | "account/passkeys" | "connect/start" | "connect/select-tenant";
|
|
221
221
|
};
|
|
222
222
|
} & {
|
|
223
223
|
query: {
|
|
@@ -235,7 +235,7 @@ export default function createU2App(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
235
235
|
} | {
|
|
236
236
|
input: {
|
|
237
237
|
param: {
|
|
238
|
-
screen: "
|
|
238
|
+
screen: "signup" | "impersonate" | "consent" | "login" | "reset-password" | "enter-password" | "reset-password/request" | "reset-password/code" | "login/email-verification" | "login/email-verification-sent" | "login/identifier" | "login/email-otp-challenge" | "login/sms-otp-challenge" | "login/login-passwordless-identifier" | "mfa/login-options" | "mfa/totp-challenge" | "mfa/totp-enrollment" | "mfa/phone-challenge" | "mfa/phone-enrollment" | "passkey/challenge" | "passkey/enrollment" | "passkey/enrollment-nudge" | "account/profile" | "account/security" | "account/security/totp-enrollment" | "account/security/phone-enrollment" | "account/linked" | "account/delete" | "account/passkeys" | "connect/start" | "connect/select-tenant";
|
|
239
239
|
};
|
|
240
240
|
} & {
|
|
241
241
|
query: {
|