authhero 9.23.0 → 9.24.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/authhero-widget.esm.js +1 -1
- package/dist/assets/u/widget/index.esm.js +1 -1
- package/dist/assets/u/widget/{p-8b981cd0.entry.js → p-210f06bf.entry.js} +1 -1
- package/dist/authhero.cjs +122 -115
- package/dist/authhero.d.ts +1585 -431
- package/dist/authhero.mjs +14101 -13653
- package/dist/tsconfig.types.tsbuildinfo +1 -1
- package/dist/types/generated/locale-types.d.ts +6 -0
- package/dist/types/helpers/logging.d.ts +7 -0
- package/dist/types/helpers/outbox-destinations/log-streams.d.ts +2 -0
- package/dist/types/helpers/reserved-claims.d.ts +2 -2
- package/dist/types/helpers/users.d.ts +5 -0
- package/dist/types/index.d.ts +1585 -431
- package/dist/types/routes/auth-api/index.d.ts +13 -13
- package/dist/types/routes/auth-api/logout.d.ts +2 -2
- package/dist/types/routes/auth-api/oidc-logout.d.ts +3 -3
- package/dist/types/routes/auth-api/passwordless.d.ts +8 -8
- package/dist/types/routes/management-api/action-executions.d.ts +1 -1
- package/dist/types/routes/management-api/actions.d.ts +29 -3
- package/dist/types/routes/management-api/authentication-methods.d.ts +1 -1
- package/dist/types/routes/management-api/branding.d.ts +3 -3
- package/dist/types/routes/management-api/email-templates.d.ts +2 -2
- package/dist/types/routes/management-api/emails.d.ts +2 -2
- package/dist/types/routes/management-api/failed-events.d.ts +96 -3
- package/dist/types/routes/management-api/flows.d.ts +52 -0
- package/dist/types/routes/management-api/forms.d.ts +609 -0
- package/dist/types/routes/management-api/grants.d.ts +11 -0
- package/dist/types/routes/management-api/helpers.d.ts +9 -1
- package/dist/types/routes/management-api/hooks.d.ts +68 -4
- package/dist/types/routes/management-api/index.d.ts +1206 -150
- package/dist/types/routes/management-api/keys.d.ts +8 -8
- package/dist/types/routes/management-api/logs.d.ts +4 -4
- package/dist/types/routes/management-api/organizations.d.ts +65 -7
- package/dist/types/routes/management-api/prompts.d.ts +6 -6
- package/dist/types/routes/management-api/tenants.d.ts +6 -6
- package/dist/types/routes/management-api/users.d.ts +159 -16
- package/dist/types/routes/saml/index.d.ts +98 -0
- package/dist/types/routes/saml/samlp.d.ts +98 -0
- package/dist/types/routes/universal-login/continue.d.ts +2 -2
- package/dist/types/routes/universal-login/flow-api.d.ts +4 -4
- package/dist/types/routes/universal-login/form-node.d.ts +4 -4
- 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 +12 -12
- package/dist/types/routes/universal-login/u2-form-node.d.ts +2 -2
- package/dist/types/routes/universal-login/u2-index.d.ts +9 -9
- package/dist/types/routes/universal-login/u2-routes.d.ts +7 -7
- package/dist/types/routes/universal-login/u2-widget-page.d.ts +13 -1
- package/dist/types/strategies/saml.d.ts +1 -1
- package/package.json +6 -6
|
@@ -709,6 +709,19 @@ export declare const userRoutes: OpenAPIHono<{
|
|
|
709
709
|
}[];
|
|
710
710
|
total?: number | undefined;
|
|
711
711
|
next?: string | undefined;
|
|
712
|
+
} | {
|
|
713
|
+
connected_clients: {
|
|
714
|
+
client_id: string;
|
|
715
|
+
name: string;
|
|
716
|
+
logo_uri?: string | undefined;
|
|
717
|
+
registration_type?: "manual" | "open_dcr" | "iat_dcr" | undefined;
|
|
718
|
+
registration_metadata?: {
|
|
719
|
+
[x: string]: any;
|
|
720
|
+
} | undefined;
|
|
721
|
+
created_at?: string | undefined;
|
|
722
|
+
updated_at?: string | undefined;
|
|
723
|
+
}[];
|
|
724
|
+
next?: string | undefined;
|
|
712
725
|
};
|
|
713
726
|
outputFormat: "json";
|
|
714
727
|
status: 200;
|
|
@@ -787,6 +800,30 @@ export declare const userRoutes: OpenAPIHono<{
|
|
|
787
800
|
}[];
|
|
788
801
|
total?: number | undefined;
|
|
789
802
|
next?: string | undefined;
|
|
803
|
+
} | {
|
|
804
|
+
sessions: {
|
|
805
|
+
created_at: string;
|
|
806
|
+
updated_at: string;
|
|
807
|
+
authenticated_at: string;
|
|
808
|
+
last_interaction_at: string;
|
|
809
|
+
id: string;
|
|
810
|
+
user_id: string;
|
|
811
|
+
login_session_id: string;
|
|
812
|
+
device: {
|
|
813
|
+
initial_user_agent: string;
|
|
814
|
+
initial_ip: string;
|
|
815
|
+
initial_asn: string;
|
|
816
|
+
last_user_agent: string;
|
|
817
|
+
last_ip: string;
|
|
818
|
+
last_asn: string;
|
|
819
|
+
};
|
|
820
|
+
clients: string[];
|
|
821
|
+
revoked_at?: string | undefined;
|
|
822
|
+
used_at?: string | undefined;
|
|
823
|
+
expires_at?: string | undefined;
|
|
824
|
+
idle_expires_at?: string | undefined;
|
|
825
|
+
}[];
|
|
826
|
+
next?: string | undefined;
|
|
790
827
|
};
|
|
791
828
|
outputFormat: "json";
|
|
792
829
|
status: 200;
|
|
@@ -817,11 +854,11 @@ export declare const userRoutes: OpenAPIHono<{
|
|
|
817
854
|
};
|
|
818
855
|
};
|
|
819
856
|
output: {
|
|
820
|
-
created_at: string;
|
|
821
|
-
id: string;
|
|
822
857
|
client_id: string;
|
|
823
|
-
|
|
858
|
+
id: string;
|
|
824
859
|
user_id: string;
|
|
860
|
+
created_at: string;
|
|
861
|
+
rotating: boolean;
|
|
825
862
|
device: {
|
|
826
863
|
initial_user_agent: string;
|
|
827
864
|
initial_ip: string;
|
|
@@ -842,20 +879,20 @@ export declare const userRoutes: OpenAPIHono<{
|
|
|
842
879
|
strategy: string;
|
|
843
880
|
strategy_type: string;
|
|
844
881
|
} | undefined;
|
|
845
|
-
organization?: string | undefined;
|
|
846
882
|
revoked_at?: string | undefined;
|
|
847
883
|
idle_expires_at?: string | undefined;
|
|
884
|
+
organization?: string | undefined;
|
|
848
885
|
last_exchanged_at?: string | undefined;
|
|
849
886
|
}[] | {
|
|
850
887
|
start: number;
|
|
851
888
|
limit: number;
|
|
852
889
|
length: number;
|
|
853
890
|
tokens: {
|
|
854
|
-
created_at: string;
|
|
855
|
-
id: string;
|
|
856
891
|
client_id: string;
|
|
857
|
-
|
|
892
|
+
id: string;
|
|
858
893
|
user_id: string;
|
|
894
|
+
created_at: string;
|
|
895
|
+
rotating: boolean;
|
|
859
896
|
device: {
|
|
860
897
|
initial_user_agent: string;
|
|
861
898
|
initial_ip: string;
|
|
@@ -876,20 +913,20 @@ export declare const userRoutes: OpenAPIHono<{
|
|
|
876
913
|
strategy: string;
|
|
877
914
|
strategy_type: string;
|
|
878
915
|
} | undefined;
|
|
879
|
-
organization?: string | undefined;
|
|
880
916
|
revoked_at?: string | undefined;
|
|
881
917
|
idle_expires_at?: string | undefined;
|
|
918
|
+
organization?: string | undefined;
|
|
882
919
|
last_exchanged_at?: string | undefined;
|
|
883
920
|
}[];
|
|
884
921
|
total?: number | undefined;
|
|
885
922
|
next?: string | undefined;
|
|
886
923
|
} | {
|
|
887
924
|
tokens: {
|
|
888
|
-
created_at: string;
|
|
889
|
-
id: string;
|
|
890
925
|
client_id: string;
|
|
891
|
-
|
|
926
|
+
id: string;
|
|
892
927
|
user_id: string;
|
|
928
|
+
created_at: string;
|
|
929
|
+
rotating: boolean;
|
|
893
930
|
device: {
|
|
894
931
|
initial_user_agent: string;
|
|
895
932
|
initial_ip: string;
|
|
@@ -910,9 +947,9 @@ export declare const userRoutes: OpenAPIHono<{
|
|
|
910
947
|
strategy: string;
|
|
911
948
|
strategy_type: string;
|
|
912
949
|
} | undefined;
|
|
913
|
-
organization?: string | undefined;
|
|
914
950
|
revoked_at?: string | undefined;
|
|
915
951
|
idle_expires_at?: string | undefined;
|
|
952
|
+
organization?: string | undefined;
|
|
916
953
|
last_exchanged_at?: string | undefined;
|
|
917
954
|
}[];
|
|
918
955
|
next?: string | undefined;
|
|
@@ -963,7 +1000,7 @@ export declare const userRoutes: OpenAPIHono<{
|
|
|
963
1000
|
};
|
|
964
1001
|
};
|
|
965
1002
|
output: {
|
|
966
|
-
type: "i" | "
|
|
1003
|
+
type: "fn" | "i" | "f" | "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" | "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" | "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" | "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";
|
|
967
1004
|
date: string;
|
|
968
1005
|
isMobile: boolean;
|
|
969
1006
|
log_id: string;
|
|
@@ -998,11 +1035,49 @@ export declare const userRoutes: OpenAPIHono<{
|
|
|
998
1035
|
continent_code: string;
|
|
999
1036
|
} | undefined;
|
|
1000
1037
|
}[] | {
|
|
1038
|
+
logs: {
|
|
1039
|
+
type: "fn" | "i" | "f" | "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" | "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" | "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" | "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";
|
|
1040
|
+
date: string;
|
|
1041
|
+
isMobile: boolean;
|
|
1042
|
+
log_id: string;
|
|
1043
|
+
description?: string | undefined;
|
|
1044
|
+
ip?: string | undefined;
|
|
1045
|
+
user_agent?: string | undefined;
|
|
1046
|
+
details?: any;
|
|
1047
|
+
user_id?: string | undefined;
|
|
1048
|
+
user_name?: string | undefined;
|
|
1049
|
+
connection?: string | undefined;
|
|
1050
|
+
connection_id?: string | undefined;
|
|
1051
|
+
client_id?: string | undefined;
|
|
1052
|
+
client_name?: string | undefined;
|
|
1053
|
+
audience?: string | undefined;
|
|
1054
|
+
scope?: string | undefined;
|
|
1055
|
+
strategy?: string | undefined;
|
|
1056
|
+
strategy_type?: string | undefined;
|
|
1057
|
+
hostname?: string | undefined;
|
|
1058
|
+
auth0_client?: {
|
|
1059
|
+
name: string;
|
|
1060
|
+
version: string;
|
|
1061
|
+
env?: {
|
|
1062
|
+
node?: string | undefined;
|
|
1063
|
+
} | undefined;
|
|
1064
|
+
} | undefined;
|
|
1065
|
+
location_info?: {
|
|
1066
|
+
country_code: string;
|
|
1067
|
+
city_name: string;
|
|
1068
|
+
latitude: string;
|
|
1069
|
+
longitude: string;
|
|
1070
|
+
time_zone: string;
|
|
1071
|
+
continent_code: string;
|
|
1072
|
+
} | undefined;
|
|
1073
|
+
}[];
|
|
1074
|
+
next?: string | undefined;
|
|
1075
|
+
} | {
|
|
1001
1076
|
start: number;
|
|
1002
1077
|
limit: number;
|
|
1003
1078
|
length: number;
|
|
1004
1079
|
logs: {
|
|
1005
|
-
type: "i" | "
|
|
1080
|
+
type: "fn" | "i" | "f" | "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" | "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" | "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" | "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";
|
|
1006
1081
|
date: string;
|
|
1007
1082
|
isMobile: boolean;
|
|
1008
1083
|
log_id: string;
|
|
@@ -1076,7 +1151,18 @@ export declare const userRoutes: OpenAPIHono<{
|
|
|
1076
1151
|
description?: string | null | undefined;
|
|
1077
1152
|
created_at?: string | undefined;
|
|
1078
1153
|
organization_id?: string | undefined;
|
|
1079
|
-
}[]
|
|
1154
|
+
}[] | {
|
|
1155
|
+
permissions: {
|
|
1156
|
+
user_id: string;
|
|
1157
|
+
resource_server_identifier: string;
|
|
1158
|
+
resource_server_name: string;
|
|
1159
|
+
permission_name: string;
|
|
1160
|
+
description?: string | null | undefined;
|
|
1161
|
+
created_at?: string | undefined;
|
|
1162
|
+
organization_id?: string | undefined;
|
|
1163
|
+
}[];
|
|
1164
|
+
next?: string | undefined;
|
|
1165
|
+
};
|
|
1080
1166
|
outputFormat: "json";
|
|
1081
1167
|
status: 200;
|
|
1082
1168
|
};
|
|
@@ -1138,6 +1224,18 @@ export declare const userRoutes: OpenAPIHono<{
|
|
|
1138
1224
|
param: {
|
|
1139
1225
|
user_id: string;
|
|
1140
1226
|
};
|
|
1227
|
+
} & {
|
|
1228
|
+
query: {
|
|
1229
|
+
page?: string | undefined;
|
|
1230
|
+
per_page?: string | undefined;
|
|
1231
|
+
include_totals?: string | undefined;
|
|
1232
|
+
from?: string | undefined;
|
|
1233
|
+
take?: string | undefined;
|
|
1234
|
+
sort?: string | undefined;
|
|
1235
|
+
q?: string | undefined;
|
|
1236
|
+
from_date?: unknown;
|
|
1237
|
+
to_date?: unknown;
|
|
1238
|
+
};
|
|
1141
1239
|
} & {
|
|
1142
1240
|
header: {
|
|
1143
1241
|
"tenant-id": string;
|
|
@@ -1153,7 +1251,20 @@ export declare const userRoutes: OpenAPIHono<{
|
|
|
1153
1251
|
} | undefined;
|
|
1154
1252
|
created_at?: string | undefined;
|
|
1155
1253
|
updated_at?: string | undefined;
|
|
1156
|
-
}[]
|
|
1254
|
+
}[] | {
|
|
1255
|
+
roles: {
|
|
1256
|
+
name: string;
|
|
1257
|
+
id: string;
|
|
1258
|
+
description?: string | undefined;
|
|
1259
|
+
is_system?: boolean | undefined;
|
|
1260
|
+
metadata?: {
|
|
1261
|
+
[x: string]: any;
|
|
1262
|
+
} | undefined;
|
|
1263
|
+
created_at?: string | undefined;
|
|
1264
|
+
updated_at?: string | undefined;
|
|
1265
|
+
}[];
|
|
1266
|
+
next?: string | undefined;
|
|
1267
|
+
};
|
|
1157
1268
|
outputFormat: "json";
|
|
1158
1269
|
status: 200;
|
|
1159
1270
|
};
|
|
@@ -1289,6 +1400,38 @@ export declare const userRoutes: OpenAPIHono<{
|
|
|
1289
1400
|
}[];
|
|
1290
1401
|
total?: number | undefined;
|
|
1291
1402
|
next?: string | undefined;
|
|
1403
|
+
} | {
|
|
1404
|
+
organizations: {
|
|
1405
|
+
created_at: string;
|
|
1406
|
+
updated_at: string;
|
|
1407
|
+
id: string;
|
|
1408
|
+
name: string;
|
|
1409
|
+
display_name?: string | undefined;
|
|
1410
|
+
branding?: {
|
|
1411
|
+
logo_url?: string | undefined;
|
|
1412
|
+
colors?: {
|
|
1413
|
+
primary?: string | undefined;
|
|
1414
|
+
page_background?: string | undefined;
|
|
1415
|
+
} | undefined;
|
|
1416
|
+
} | undefined;
|
|
1417
|
+
metadata?: {
|
|
1418
|
+
[x: string]: any;
|
|
1419
|
+
} | undefined;
|
|
1420
|
+
enabled_connections?: {
|
|
1421
|
+
connection_id: string;
|
|
1422
|
+
assign_membership_on_login: boolean;
|
|
1423
|
+
show_as_button: boolean;
|
|
1424
|
+
is_signup_enabled: boolean;
|
|
1425
|
+
}[] | undefined;
|
|
1426
|
+
token_quota?: {
|
|
1427
|
+
client_credentials?: {
|
|
1428
|
+
enforce: boolean;
|
|
1429
|
+
per_day: number;
|
|
1430
|
+
per_hour: number;
|
|
1431
|
+
} | undefined;
|
|
1432
|
+
} | undefined;
|
|
1433
|
+
}[];
|
|
1434
|
+
next?: string | undefined;
|
|
1292
1435
|
};
|
|
1293
1436
|
outputFormat: "json";
|
|
1294
1437
|
status: 200;
|
|
@@ -61,4 +61,102 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
61
61
|
status: 400;
|
|
62
62
|
};
|
|
63
63
|
};
|
|
64
|
+
} & {
|
|
65
|
+
"/:client_id/logout": {
|
|
66
|
+
$get: {
|
|
67
|
+
input: {
|
|
68
|
+
param: {
|
|
69
|
+
client_id: string;
|
|
70
|
+
};
|
|
71
|
+
} & {
|
|
72
|
+
query: {
|
|
73
|
+
SAMLRequest: string;
|
|
74
|
+
RelayState?: string | undefined;
|
|
75
|
+
SigAlg?: string | undefined;
|
|
76
|
+
Signature?: string | undefined;
|
|
77
|
+
};
|
|
78
|
+
};
|
|
79
|
+
output: {};
|
|
80
|
+
outputFormat: string;
|
|
81
|
+
status: 400;
|
|
82
|
+
} | {
|
|
83
|
+
input: {
|
|
84
|
+
param: {
|
|
85
|
+
client_id: string;
|
|
86
|
+
};
|
|
87
|
+
} & {
|
|
88
|
+
query: {
|
|
89
|
+
SAMLRequest: string;
|
|
90
|
+
RelayState?: string | undefined;
|
|
91
|
+
SigAlg?: string | undefined;
|
|
92
|
+
Signature?: string | undefined;
|
|
93
|
+
};
|
|
94
|
+
};
|
|
95
|
+
output: {};
|
|
96
|
+
outputFormat: string;
|
|
97
|
+
status: 200;
|
|
98
|
+
} | {
|
|
99
|
+
input: {
|
|
100
|
+
param: {
|
|
101
|
+
client_id: string;
|
|
102
|
+
};
|
|
103
|
+
} & {
|
|
104
|
+
query: {
|
|
105
|
+
SAMLRequest: string;
|
|
106
|
+
RelayState?: string | undefined;
|
|
107
|
+
SigAlg?: string | undefined;
|
|
108
|
+
Signature?: string | undefined;
|
|
109
|
+
};
|
|
110
|
+
};
|
|
111
|
+
output: {};
|
|
112
|
+
outputFormat: string;
|
|
113
|
+
status: 302;
|
|
114
|
+
};
|
|
115
|
+
};
|
|
116
|
+
} & {
|
|
117
|
+
"/:client_id/logout": {
|
|
118
|
+
$post: {
|
|
119
|
+
input: {
|
|
120
|
+
param: {
|
|
121
|
+
client_id: string;
|
|
122
|
+
};
|
|
123
|
+
} & {
|
|
124
|
+
form: {
|
|
125
|
+
SAMLRequest: string;
|
|
126
|
+
RelayState?: string | undefined;
|
|
127
|
+
};
|
|
128
|
+
};
|
|
129
|
+
output: {};
|
|
130
|
+
outputFormat: string;
|
|
131
|
+
status: 400;
|
|
132
|
+
} | {
|
|
133
|
+
input: {
|
|
134
|
+
param: {
|
|
135
|
+
client_id: string;
|
|
136
|
+
};
|
|
137
|
+
} & {
|
|
138
|
+
form: {
|
|
139
|
+
SAMLRequest: string;
|
|
140
|
+
RelayState?: string | undefined;
|
|
141
|
+
};
|
|
142
|
+
};
|
|
143
|
+
output: {};
|
|
144
|
+
outputFormat: string;
|
|
145
|
+
status: 200;
|
|
146
|
+
} | {
|
|
147
|
+
input: {
|
|
148
|
+
param: {
|
|
149
|
+
client_id: string;
|
|
150
|
+
};
|
|
151
|
+
} & {
|
|
152
|
+
form: {
|
|
153
|
+
SAMLRequest: string;
|
|
154
|
+
RelayState?: string | undefined;
|
|
155
|
+
};
|
|
156
|
+
};
|
|
157
|
+
output: {};
|
|
158
|
+
outputFormat: string;
|
|
159
|
+
status: 302;
|
|
160
|
+
};
|
|
161
|
+
};
|
|
64
162
|
}, "/">, "/">;
|
|
@@ -61,4 +61,102 @@ export declare const samlpRoutes: OpenAPIHono<{
|
|
|
61
61
|
status: 400;
|
|
62
62
|
};
|
|
63
63
|
};
|
|
64
|
+
} & {
|
|
65
|
+
"/:client_id/logout": {
|
|
66
|
+
$get: {
|
|
67
|
+
input: {
|
|
68
|
+
param: {
|
|
69
|
+
client_id: string;
|
|
70
|
+
};
|
|
71
|
+
} & {
|
|
72
|
+
query: {
|
|
73
|
+
SAMLRequest: string;
|
|
74
|
+
RelayState?: string | undefined;
|
|
75
|
+
SigAlg?: string | undefined;
|
|
76
|
+
Signature?: string | undefined;
|
|
77
|
+
};
|
|
78
|
+
};
|
|
79
|
+
output: {};
|
|
80
|
+
outputFormat: string;
|
|
81
|
+
status: 400;
|
|
82
|
+
} | {
|
|
83
|
+
input: {
|
|
84
|
+
param: {
|
|
85
|
+
client_id: string;
|
|
86
|
+
};
|
|
87
|
+
} & {
|
|
88
|
+
query: {
|
|
89
|
+
SAMLRequest: string;
|
|
90
|
+
RelayState?: string | undefined;
|
|
91
|
+
SigAlg?: string | undefined;
|
|
92
|
+
Signature?: string | undefined;
|
|
93
|
+
};
|
|
94
|
+
};
|
|
95
|
+
output: {};
|
|
96
|
+
outputFormat: string;
|
|
97
|
+
status: 200;
|
|
98
|
+
} | {
|
|
99
|
+
input: {
|
|
100
|
+
param: {
|
|
101
|
+
client_id: string;
|
|
102
|
+
};
|
|
103
|
+
} & {
|
|
104
|
+
query: {
|
|
105
|
+
SAMLRequest: string;
|
|
106
|
+
RelayState?: string | undefined;
|
|
107
|
+
SigAlg?: string | undefined;
|
|
108
|
+
Signature?: string | undefined;
|
|
109
|
+
};
|
|
110
|
+
};
|
|
111
|
+
output: {};
|
|
112
|
+
outputFormat: string;
|
|
113
|
+
status: 302;
|
|
114
|
+
};
|
|
115
|
+
};
|
|
116
|
+
} & {
|
|
117
|
+
"/:client_id/logout": {
|
|
118
|
+
$post: {
|
|
119
|
+
input: {
|
|
120
|
+
param: {
|
|
121
|
+
client_id: string;
|
|
122
|
+
};
|
|
123
|
+
} & {
|
|
124
|
+
form: {
|
|
125
|
+
SAMLRequest: string;
|
|
126
|
+
RelayState?: string | undefined;
|
|
127
|
+
};
|
|
128
|
+
};
|
|
129
|
+
output: {};
|
|
130
|
+
outputFormat: string;
|
|
131
|
+
status: 400;
|
|
132
|
+
} | {
|
|
133
|
+
input: {
|
|
134
|
+
param: {
|
|
135
|
+
client_id: string;
|
|
136
|
+
};
|
|
137
|
+
} & {
|
|
138
|
+
form: {
|
|
139
|
+
SAMLRequest: string;
|
|
140
|
+
RelayState?: string | undefined;
|
|
141
|
+
};
|
|
142
|
+
};
|
|
143
|
+
output: {};
|
|
144
|
+
outputFormat: string;
|
|
145
|
+
status: 200;
|
|
146
|
+
} | {
|
|
147
|
+
input: {
|
|
148
|
+
param: {
|
|
149
|
+
client_id: string;
|
|
150
|
+
};
|
|
151
|
+
} & {
|
|
152
|
+
form: {
|
|
153
|
+
SAMLRequest: string;
|
|
154
|
+
RelayState?: string | undefined;
|
|
155
|
+
};
|
|
156
|
+
};
|
|
157
|
+
output: {};
|
|
158
|
+
outputFormat: string;
|
|
159
|
+
status: 302;
|
|
160
|
+
};
|
|
161
|
+
};
|
|
64
162
|
}, "/">;
|
|
@@ -13,7 +13,7 @@ export declare const continueRoutes: OpenAPIHono<{
|
|
|
13
13
|
};
|
|
14
14
|
output: {};
|
|
15
15
|
outputFormat: string;
|
|
16
|
-
status:
|
|
16
|
+
status: 400;
|
|
17
17
|
} | {
|
|
18
18
|
input: {
|
|
19
19
|
query: {
|
|
@@ -22,7 +22,7 @@ export declare const continueRoutes: OpenAPIHono<{
|
|
|
22
22
|
};
|
|
23
23
|
output: {};
|
|
24
24
|
outputFormat: string;
|
|
25
|
-
status:
|
|
25
|
+
status: 302;
|
|
26
26
|
} | {
|
|
27
27
|
input: {
|
|
28
28
|
query: {
|
|
@@ -173,7 +173,7 @@ export declare const flowApiRoutes: OpenAPIHono<{
|
|
|
173
173
|
};
|
|
174
174
|
output: {};
|
|
175
175
|
outputFormat: string;
|
|
176
|
-
status:
|
|
176
|
+
status: 400;
|
|
177
177
|
} | {
|
|
178
178
|
input: {
|
|
179
179
|
query: {
|
|
@@ -188,7 +188,7 @@ export declare const flowApiRoutes: OpenAPIHono<{
|
|
|
188
188
|
};
|
|
189
189
|
output: {};
|
|
190
190
|
outputFormat: string;
|
|
191
|
-
status:
|
|
191
|
+
status: 404;
|
|
192
192
|
} | {
|
|
193
193
|
input: {
|
|
194
194
|
query: {
|
|
@@ -282,7 +282,7 @@ export declare const flowApiRoutes: OpenAPIHono<{
|
|
|
282
282
|
};
|
|
283
283
|
output: {};
|
|
284
284
|
outputFormat: string;
|
|
285
|
-
status:
|
|
285
|
+
status: 400;
|
|
286
286
|
} | {
|
|
287
287
|
input: {
|
|
288
288
|
param: {
|
|
@@ -300,7 +300,7 @@ export declare const flowApiRoutes: OpenAPIHono<{
|
|
|
300
300
|
};
|
|
301
301
|
output: {};
|
|
302
302
|
outputFormat: string;
|
|
303
|
-
status:
|
|
303
|
+
status: 404;
|
|
304
304
|
} | {
|
|
305
305
|
input: {
|
|
306
306
|
param: {
|
|
@@ -18,7 +18,7 @@ export declare const formNodeRoutes: OpenAPIHono<{
|
|
|
18
18
|
};
|
|
19
19
|
output: {};
|
|
20
20
|
outputFormat: string;
|
|
21
|
-
status:
|
|
21
|
+
status: 200;
|
|
22
22
|
} | {
|
|
23
23
|
input: {
|
|
24
24
|
param: {
|
|
@@ -32,7 +32,7 @@ export declare const formNodeRoutes: OpenAPIHono<{
|
|
|
32
32
|
};
|
|
33
33
|
output: {};
|
|
34
34
|
outputFormat: string;
|
|
35
|
-
status:
|
|
35
|
+
status: 404;
|
|
36
36
|
};
|
|
37
37
|
};
|
|
38
38
|
} & {
|
|
@@ -52,7 +52,7 @@ export declare const formNodeRoutes: OpenAPIHono<{
|
|
|
52
52
|
};
|
|
53
53
|
output: {};
|
|
54
54
|
outputFormat: string;
|
|
55
|
-
status:
|
|
55
|
+
status: 200;
|
|
56
56
|
} | {
|
|
57
57
|
input: {
|
|
58
58
|
param: {
|
|
@@ -68,7 +68,7 @@ export declare const formNodeRoutes: OpenAPIHono<{
|
|
|
68
68
|
};
|
|
69
69
|
output: {};
|
|
70
70
|
outputFormat: string;
|
|
71
|
-
status:
|
|
71
|
+
status: 404;
|
|
72
72
|
};
|
|
73
73
|
};
|
|
74
74
|
}, "/">;
|
|
@@ -35,7 +35,7 @@ export declare const identifierRoutes: OpenAPIHono<{
|
|
|
35
35
|
};
|
|
36
36
|
output: {};
|
|
37
37
|
outputFormat: string;
|
|
38
|
-
status:
|
|
38
|
+
status: 400;
|
|
39
39
|
} | {
|
|
40
40
|
input: {
|
|
41
41
|
query: {
|
|
@@ -49,7 +49,7 @@ export declare const identifierRoutes: OpenAPIHono<{
|
|
|
49
49
|
};
|
|
50
50
|
output: {};
|
|
51
51
|
outputFormat: string;
|
|
52
|
-
status:
|
|
52
|
+
status: 302;
|
|
53
53
|
};
|
|
54
54
|
};
|
|
55
55
|
}, "/">;
|
|
@@ -13,7 +13,7 @@ export declare const impersonateRoutes: OpenAPIHono<{
|
|
|
13
13
|
};
|
|
14
14
|
output: {};
|
|
15
15
|
outputFormat: string;
|
|
16
|
-
status:
|
|
16
|
+
status: 400;
|
|
17
17
|
} | {
|
|
18
18
|
input: {
|
|
19
19
|
query: {
|
|
@@ -22,7 +22,7 @@ export declare const impersonateRoutes: OpenAPIHono<{
|
|
|
22
22
|
};
|
|
23
23
|
output: {};
|
|
24
24
|
outputFormat: string;
|
|
25
|
-
status:
|
|
25
|
+
status: 200;
|
|
26
26
|
};
|
|
27
27
|
};
|
|
28
28
|
} & {
|
|
@@ -52,7 +52,7 @@ export declare const impersonateRoutes: OpenAPIHono<{
|
|
|
52
52
|
};
|
|
53
53
|
output: {};
|
|
54
54
|
outputFormat: string;
|
|
55
|
-
status:
|
|
55
|
+
status: 400;
|
|
56
56
|
} | {
|
|
57
57
|
input: {
|
|
58
58
|
query: {
|
|
@@ -65,7 +65,7 @@ export declare const impersonateRoutes: OpenAPIHono<{
|
|
|
65
65
|
};
|
|
66
66
|
output: {};
|
|
67
67
|
outputFormat: string;
|
|
68
|
-
status:
|
|
68
|
+
status: 302;
|
|
69
69
|
};
|
|
70
70
|
};
|
|
71
71
|
}, "/">;
|