authhero 8.21.0 → 8.22.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/assets/u/widget/index.esm.js +1 -1
- package/dist/authhero.cjs +142 -142
- package/dist/authhero.d.ts +529 -276
- package/dist/authhero.mjs +22201 -17447
- package/dist/tsconfig.types.tsbuildinfo +1 -1
- package/dist/types/authentication-flows/passwordless.d.ts +7 -7
- package/dist/types/errors/is-http-exception-like.d.ts +11 -0
- package/dist/types/helpers/dcr/metadata-mapping.d.ts +2 -2
- package/dist/types/index.d.ts +407 -273
- package/dist/types/routes/auth-api/account.d.ts +2 -2
- package/dist/types/routes/auth-api/authorize.d.ts +14 -14
- package/dist/types/routes/auth-api/index.d.ts +46 -46
- package/dist/types/routes/auth-api/oidc-logout.d.ts +2 -2
- package/dist/types/routes/auth-api/passwordless.d.ts +18 -18
- package/dist/types/routes/auth-api/register/index.d.ts +2 -2
- package/dist/types/routes/auth-api/revoke.d.ts +6 -6
- package/dist/types/routes/auth-api/well-known.d.ts +2 -2
- package/dist/types/routes/management-api/action-executions.d.ts +1 -1
- package/dist/types/routes/management-api/actions.d.ts +1 -1
- package/dist/types/routes/management-api/branding.d.ts +1 -1
- package/dist/types/routes/management-api/client-grants.d.ts +9 -9
- package/dist/types/routes/management-api/clients.d.ts +110 -15
- package/dist/types/routes/management-api/connections.d.ts +21 -21
- package/dist/types/routes/management-api/email-templates.d.ts +18 -18
- package/dist/types/routes/management-api/flows.d.ts +7 -7
- package/dist/types/routes/management-api/forms.d.ts +126 -126
- package/dist/types/routes/management-api/guardian.d.ts +5 -5
- package/dist/types/routes/management-api/index.d.ts +353 -220
- package/dist/types/routes/management-api/logs.d.ts +41 -3
- package/dist/types/routes/management-api/organizations.d.ts +2 -2
- package/dist/types/routes/management-api/prompts.d.ts +4 -4
- package/dist/types/routes/management-api/tenant-export-import.d.ts +5 -5
- package/dist/types/routes/management-api/tenants.d.ts +6 -6
- package/dist/types/routes/management-api/users.d.ts +2 -2
- package/dist/types/routes/proxy-control-plane/wfp-tenant-hosts.d.ts +122 -0
- package/dist/types/routes/proxy-control-plane/wfp-tenant-hosts.test.d.ts +1 -0
- package/dist/types/routes/universal-login/common.d.ts +10 -10
- 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/u2-index.d.ts +5 -5
- package/dist/types/routes/universal-login/u2-routes.d.ts +5 -5
- package/dist/types/utils/crypto.d.ts +3 -0
- package/dist/types/utils/jwks.d.ts +4 -4
- package/dist/types/utils/jwt.d.ts +29 -0
- package/dist/types/utils/request-origin.d.ts +6 -0
- package/dist/types/utils/totp.d.ts +10 -0
- package/package.json +6 -7
|
@@ -24,7 +24,7 @@ export declare const logRoutes: OpenAPIHono<{
|
|
|
24
24
|
};
|
|
25
25
|
};
|
|
26
26
|
output: {
|
|
27
|
-
type: "
|
|
27
|
+
type: "gd_send_sms" | "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" | "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_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";
|
|
28
28
|
date: string;
|
|
29
29
|
isMobile: boolean;
|
|
30
30
|
log_id: string;
|
|
@@ -63,7 +63,7 @@ export declare const logRoutes: OpenAPIHono<{
|
|
|
63
63
|
limit: number;
|
|
64
64
|
length: number;
|
|
65
65
|
logs: {
|
|
66
|
-
type: "
|
|
66
|
+
type: "gd_send_sms" | "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" | "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_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";
|
|
67
67
|
date: string;
|
|
68
68
|
isMobile: boolean;
|
|
69
69
|
log_id: string;
|
|
@@ -100,6 +100,44 @@ export declare const logRoutes: OpenAPIHono<{
|
|
|
100
100
|
}[];
|
|
101
101
|
total?: number | undefined;
|
|
102
102
|
next?: string | undefined;
|
|
103
|
+
} | {
|
|
104
|
+
logs: {
|
|
105
|
+
type: "gd_send_sms" | "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" | "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_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";
|
|
106
|
+
date: string;
|
|
107
|
+
isMobile: boolean;
|
|
108
|
+
log_id: string;
|
|
109
|
+
description?: string | undefined;
|
|
110
|
+
ip?: string | undefined;
|
|
111
|
+
user_agent?: string | undefined;
|
|
112
|
+
details?: any;
|
|
113
|
+
user_id?: string | undefined;
|
|
114
|
+
user_name?: string | undefined;
|
|
115
|
+
connection?: string | undefined;
|
|
116
|
+
connection_id?: string | undefined;
|
|
117
|
+
client_id?: string | undefined;
|
|
118
|
+
client_name?: string | undefined;
|
|
119
|
+
audience?: string | undefined;
|
|
120
|
+
scope?: string | undefined;
|
|
121
|
+
strategy?: string | undefined;
|
|
122
|
+
strategy_type?: string | undefined;
|
|
123
|
+
hostname?: string | undefined;
|
|
124
|
+
auth0_client?: {
|
|
125
|
+
name: string;
|
|
126
|
+
version: string;
|
|
127
|
+
env?: {
|
|
128
|
+
node?: string | undefined;
|
|
129
|
+
} | undefined;
|
|
130
|
+
} | undefined;
|
|
131
|
+
location_info?: {
|
|
132
|
+
country_code: string;
|
|
133
|
+
city_name: string;
|
|
134
|
+
latitude: string;
|
|
135
|
+
longitude: string;
|
|
136
|
+
time_zone: string;
|
|
137
|
+
continent_code: string;
|
|
138
|
+
} | undefined;
|
|
139
|
+
}[];
|
|
140
|
+
next?: string | undefined;
|
|
103
141
|
};
|
|
104
142
|
outputFormat: "json";
|
|
105
143
|
status: 200;
|
|
@@ -118,7 +156,7 @@ export declare const logRoutes: OpenAPIHono<{
|
|
|
118
156
|
};
|
|
119
157
|
};
|
|
120
158
|
output: {
|
|
121
|
-
type: "
|
|
159
|
+
type: "gd_send_sms" | "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" | "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_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";
|
|
122
160
|
date: string;
|
|
123
161
|
isMobile: boolean;
|
|
124
162
|
log_id: string;
|
|
@@ -737,9 +737,9 @@ export declare const organizationRoutes: OpenAPIHono<{
|
|
|
737
737
|
};
|
|
738
738
|
id?: string | undefined;
|
|
739
739
|
connection_id?: string | undefined;
|
|
740
|
-
roles?: string[] | undefined;
|
|
741
740
|
app_metadata?: Record<string, any> | undefined;
|
|
742
741
|
user_metadata?: Record<string, any> | undefined;
|
|
742
|
+
roles?: string[] | undefined;
|
|
743
743
|
ttl_sec?: number | undefined;
|
|
744
744
|
send_invitation_email?: boolean | undefined;
|
|
745
745
|
};
|
|
@@ -924,8 +924,8 @@ export declare const organizationRoutes: OpenAPIHono<{
|
|
|
924
924
|
};
|
|
925
925
|
} & {
|
|
926
926
|
json: {
|
|
927
|
-
assign_membership_on_login?: boolean | undefined;
|
|
928
927
|
show_as_button?: boolean | undefined;
|
|
928
|
+
assign_membership_on_login?: boolean | undefined;
|
|
929
929
|
is_signup_enabled?: boolean | undefined;
|
|
930
930
|
};
|
|
931
931
|
};
|
|
@@ -50,7 +50,7 @@ export declare const promptsRoutes: OpenAPIHono<{
|
|
|
50
50
|
};
|
|
51
51
|
};
|
|
52
52
|
output: {
|
|
53
|
-
prompt: "
|
|
53
|
+
prompt: "signup" | "status" | "mfa" | "organizations" | "login" | "login-id" | "login-password" | "signup-id" | "signup-password" | "reset-password" | "consent" | "mfa-push" | "mfa-otp" | "mfa-voice" | "mfa-phone" | "mfa-webauthn" | "mfa-email" | "mfa-recovery-code" | "device-flow" | "email-verification" | "email-otp-challenge" | "invitation" | "common" | "passkeys" | "captcha" | "custom-form" | "login-passwordless" | "mfa-login-options";
|
|
54
54
|
language: string;
|
|
55
55
|
}[];
|
|
56
56
|
outputFormat: "json";
|
|
@@ -88,7 +88,7 @@ export declare const promptsRoutes: OpenAPIHono<{
|
|
|
88
88
|
$get: {
|
|
89
89
|
input: {
|
|
90
90
|
param: {
|
|
91
|
-
prompt: "
|
|
91
|
+
prompt: "signup" | "status" | "mfa" | "organizations" | "login" | "login-id" | "login-password" | "signup-id" | "signup-password" | "reset-password" | "consent" | "mfa-push" | "mfa-otp" | "mfa-voice" | "mfa-phone" | "mfa-webauthn" | "mfa-email" | "mfa-recovery-code" | "device-flow" | "email-verification" | "email-otp-challenge" | "invitation" | "common" | "passkeys" | "captcha" | "custom-form" | "login-passwordless" | "mfa-login-options";
|
|
92
92
|
language: string;
|
|
93
93
|
};
|
|
94
94
|
} & {
|
|
@@ -110,7 +110,7 @@ export declare const promptsRoutes: OpenAPIHono<{
|
|
|
110
110
|
$put: {
|
|
111
111
|
input: {
|
|
112
112
|
param: {
|
|
113
|
-
prompt: "
|
|
113
|
+
prompt: "signup" | "status" | "mfa" | "organizations" | "login" | "login-id" | "login-password" | "signup-id" | "signup-password" | "reset-password" | "consent" | "mfa-push" | "mfa-otp" | "mfa-voice" | "mfa-phone" | "mfa-webauthn" | "mfa-email" | "mfa-recovery-code" | "device-flow" | "email-verification" | "email-otp-challenge" | "invitation" | "common" | "passkeys" | "captcha" | "custom-form" | "login-passwordless" | "mfa-login-options";
|
|
114
114
|
language: string;
|
|
115
115
|
};
|
|
116
116
|
} & {
|
|
@@ -134,7 +134,7 @@ export declare const promptsRoutes: OpenAPIHono<{
|
|
|
134
134
|
$delete: {
|
|
135
135
|
input: {
|
|
136
136
|
param: {
|
|
137
|
-
prompt: "
|
|
137
|
+
prompt: "signup" | "status" | "mfa" | "organizations" | "login" | "login-id" | "login-password" | "signup-id" | "signup-password" | "reset-password" | "consent" | "mfa-push" | "mfa-otp" | "mfa-voice" | "mfa-phone" | "mfa-webauthn" | "mfa-email" | "mfa-recovery-code" | "device-flow" | "email-verification" | "email-otp-challenge" | "invitation" | "common" | "passkeys" | "captcha" | "custom-form" | "login-passwordless" | "mfa-login-options";
|
|
138
138
|
language: string;
|
|
139
139
|
};
|
|
140
140
|
} & {
|
|
@@ -8,8 +8,8 @@ export declare const tenantExportImportRoutes: OpenAPIHono<{
|
|
|
8
8
|
$get: {
|
|
9
9
|
input: {
|
|
10
10
|
query: {
|
|
11
|
-
include_password_hashes?: "
|
|
12
|
-
gzip?: "
|
|
11
|
+
include_password_hashes?: "true" | "false" | undefined;
|
|
12
|
+
gzip?: "true" | "false" | undefined;
|
|
13
13
|
};
|
|
14
14
|
} & {
|
|
15
15
|
header: {
|
|
@@ -22,8 +22,8 @@ export declare const tenantExportImportRoutes: OpenAPIHono<{
|
|
|
22
22
|
} | {
|
|
23
23
|
input: {
|
|
24
24
|
query: {
|
|
25
|
-
include_password_hashes?: "
|
|
26
|
-
gzip?: "
|
|
25
|
+
include_password_hashes?: "true" | "false" | undefined;
|
|
26
|
+
gzip?: "true" | "false" | undefined;
|
|
27
27
|
};
|
|
28
28
|
} & {
|
|
29
29
|
header: {
|
|
@@ -42,7 +42,7 @@ export declare const tenantExportImportRoutes: OpenAPIHono<{
|
|
|
42
42
|
$post: {
|
|
43
43
|
input: {
|
|
44
44
|
query: {
|
|
45
|
-
include_password_hashes?: "
|
|
45
|
+
include_password_hashes?: "true" | "false" | undefined;
|
|
46
46
|
};
|
|
47
47
|
} & {
|
|
48
48
|
header: {
|
|
@@ -210,14 +210,9 @@ export declare const tenantRoutes: OpenAPIHono<{
|
|
|
210
210
|
};
|
|
211
211
|
} & {
|
|
212
212
|
json: {
|
|
213
|
-
audience?: string | undefined;
|
|
214
213
|
id?: string | undefined;
|
|
215
|
-
allowed_logout_urls?: string[] | undefined;
|
|
216
|
-
oidc_logout?: {
|
|
217
|
-
rp_logout_end_session_endpoint_discovery?: boolean | undefined;
|
|
218
|
-
} | undefined;
|
|
219
|
-
default_organization?: string | undefined;
|
|
220
214
|
friendly_name?: string | undefined;
|
|
215
|
+
audience?: string | undefined;
|
|
221
216
|
picture_url?: string | undefined;
|
|
222
217
|
support_email?: string | undefined;
|
|
223
218
|
support_url?: string | undefined;
|
|
@@ -230,6 +225,7 @@ export declare const tenantRoutes: OpenAPIHono<{
|
|
|
230
225
|
session_cookie?: {
|
|
231
226
|
mode?: "persistent" | "non-persistent" | undefined;
|
|
232
227
|
} | undefined;
|
|
228
|
+
allowed_logout_urls?: string[] | undefined;
|
|
233
229
|
default_redirection_uri?: string | undefined;
|
|
234
230
|
default_client_id?: string | undefined;
|
|
235
231
|
enabled_locales?: string[] | undefined;
|
|
@@ -303,9 +299,13 @@ export declare const tenantRoutes: OpenAPIHono<{
|
|
|
303
299
|
} | undefined;
|
|
304
300
|
} | null | undefined;
|
|
305
301
|
default_audience?: string | undefined;
|
|
302
|
+
default_organization?: string | undefined;
|
|
306
303
|
sessions?: {
|
|
307
304
|
oidc_logout_prompt_enabled?: boolean | undefined;
|
|
308
305
|
} | undefined;
|
|
306
|
+
oidc_logout?: {
|
|
307
|
+
rp_logout_end_session_endpoint_discovery?: boolean | undefined;
|
|
308
|
+
} | undefined;
|
|
309
309
|
allow_organization_name_in_authentication_api?: boolean | undefined;
|
|
310
310
|
customize_mfa_in_postlogin_action?: boolean | undefined;
|
|
311
311
|
acr_values_supported?: string[] | undefined;
|
|
@@ -740,7 +740,7 @@ export declare const userRoutes: OpenAPIHono<{
|
|
|
740
740
|
};
|
|
741
741
|
};
|
|
742
742
|
output: {
|
|
743
|
-
type: "
|
|
743
|
+
type: "gd_send_sms" | "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" | "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_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";
|
|
744
744
|
date: string;
|
|
745
745
|
isMobile: boolean;
|
|
746
746
|
log_id: string;
|
|
@@ -779,7 +779,7 @@ export declare const userRoutes: OpenAPIHono<{
|
|
|
779
779
|
limit: number;
|
|
780
780
|
length: number;
|
|
781
781
|
logs: {
|
|
782
|
-
type: "
|
|
782
|
+
type: "gd_send_sms" | "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" | "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_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";
|
|
783
783
|
date: string;
|
|
784
784
|
isMobile: boolean;
|
|
785
785
|
log_id: string;
|
|
@@ -0,0 +1,122 @@
|
|
|
1
|
+
import type { TenantsDataAdapter } from "@authhero/adapter-interfaces";
|
|
2
|
+
import type { ResolvedHost } from "@authhero/proxy";
|
|
3
|
+
import { type KvNamespaceWriter } from "@authhero/proxy";
|
|
4
|
+
/**
|
|
5
|
+
* Default dispatch-namespace binding name the synthesized route targets.
|
|
6
|
+
* Must match the `[[dispatch_namespaces]] binding = "..."` declared in the
|
|
7
|
+
* proxy Worker's wrangler config.
|
|
8
|
+
*/
|
|
9
|
+
export declare const DEFAULT_WFP_DISPATCH_BINDING = "DISPATCHER";
|
|
10
|
+
/**
|
|
11
|
+
* Default script-name template, matching the WFP provisioner's default
|
|
12
|
+
* (`scriptNameTemplate` in `@authhero/cloudflare-adapter`). Only used when the
|
|
13
|
+
* tenant row carries no `worker_script_name` — the provisioner writes that
|
|
14
|
+
* back on provision, and it is always preferred.
|
|
15
|
+
*/
|
|
16
|
+
export declare const DEFAULT_WFP_SCRIPT_NAME_TEMPLATE = "{tenant_id}";
|
|
17
|
+
/**
|
|
18
|
+
* The platform subdomain a WFP tenant is served on: `{tenant_id}.{issuerHost}`.
|
|
19
|
+
* Central so the publisher, the resolver, and any reconcile host-list
|
|
20
|
+
* derivation all agree on the exact host (and therefore the KV key).
|
|
21
|
+
*/
|
|
22
|
+
export declare function wfpTenantHost(tenantId: string, issuerHost: string): string;
|
|
23
|
+
/**
|
|
24
|
+
* Whether a tenant id can be served on a platform subdomain at all. Ids that
|
|
25
|
+
* fail this (mixed case, dots, other URL-unsafe characters) are skipped by
|
|
26
|
+
* `wrapTenantsAdapterWithWfpKvPublish` — publishing them would create KV keys
|
|
27
|
+
* the resolver can never match. Give WFP tenants lowercase DNS-label ids.
|
|
28
|
+
*/
|
|
29
|
+
export declare function isWfpSubdomainSafeTenantId(tenantId: string): boolean;
|
|
30
|
+
export interface WfpTenantHostResolverOptions {
|
|
31
|
+
/** Tenant lookup — typically the control plane's tenants adapter. */
|
|
32
|
+
tenants: Pick<TenantsDataAdapter, "get">;
|
|
33
|
+
/**
|
|
34
|
+
* The issuer host tenant subdomains hang off (e.g. `token.example.com`,
|
|
35
|
+
* from `new URL(env.ISSUER).host`). A host resolves only when it is exactly
|
|
36
|
+
* one label under this — `wpf.token.example.com`, not `a.b.token.example.com`.
|
|
37
|
+
*/
|
|
38
|
+
issuerHost: string;
|
|
39
|
+
/** Dispatch-namespace binding name on the proxy Worker. */
|
|
40
|
+
dispatchBinding?: string;
|
|
41
|
+
/**
|
|
42
|
+
* Fallback script-name template (`{tenant_id}` placeholder) for tenants
|
|
43
|
+
* provisioned before `worker_script_name` was written back. Must match the
|
|
44
|
+
* provisioner's template.
|
|
45
|
+
*/
|
|
46
|
+
scriptNameTemplate?: string;
|
|
47
|
+
/** Optional per-request timeout (ms) forwarded to the dispatch handler. */
|
|
48
|
+
dispatchTimeoutMs?: number;
|
|
49
|
+
}
|
|
50
|
+
/**
|
|
51
|
+
* Build a `resolveHost` that maps a WFP tenant's platform subdomain
|
|
52
|
+
* (`{tenant_id}.{issuerHost}`) to a synthetic `ResolvedHost` whose single
|
|
53
|
+
* route dispatches into the tenant's own Worker via the proxy's
|
|
54
|
+
* `dispatch_namespace` handler.
|
|
55
|
+
*
|
|
56
|
+
* Resolves only tenants with `deployment_type: "wfp"` AND
|
|
57
|
+
* `provisioning_state: "ready"` — anything else returns `null` so the host
|
|
58
|
+
* falls through to the proxy's fallback chain (typically the shared control
|
|
59
|
+
* plane), which keeps a tenant serviceable while it is still provisioning.
|
|
60
|
+
* No `custom_domains` row is involved; the mapping is derived entirely from
|
|
61
|
+
* the tenant row, which stays the durable source of truth.
|
|
62
|
+
*
|
|
63
|
+
* Compose it behind the custom-domains resolver with `composeHostResolvers`
|
|
64
|
+
* so an explicit `custom_domains` row for the same host always wins.
|
|
65
|
+
*/
|
|
66
|
+
export declare function createWfpTenantHostResolver(options: WfpTenantHostResolverOptions): (host: string) => Promise<ResolvedHost | null>;
|
|
67
|
+
/**
|
|
68
|
+
* Chain host resolvers: first non-null wins, in argument order. Put the
|
|
69
|
+
* custom-domains resolver first so an explicit `custom_domains` row overrides
|
|
70
|
+
* a derived WFP tenant-subdomain route for the same host. Errors propagate —
|
|
71
|
+
* a failing layer should surface (and let the caller's own fallback take
|
|
72
|
+
* over), not be silently treated as a miss that could delete a live KV key.
|
|
73
|
+
*/
|
|
74
|
+
export declare function composeHostResolvers(...resolvers: Array<(host: string) => Promise<ResolvedHost | null>>): (host: string) => Promise<ResolvedHost | null>;
|
|
75
|
+
export interface WfpTenantsKvPublishOptions {
|
|
76
|
+
/** Tenants adapter whose writes should be mirrored to KV. */
|
|
77
|
+
tenants: TenantsDataAdapter;
|
|
78
|
+
/** KV namespace the resolved host blobs are published to. */
|
|
79
|
+
kv: KvNamespaceWriter;
|
|
80
|
+
/**
|
|
81
|
+
* Cross-tenant host resolver used to recompute the blob after a write —
|
|
82
|
+
* pass the SAME composed resolver (custom domains first, then
|
|
83
|
+
* `createWfpTenantHostResolver`) that the control plane serves over HTTP,
|
|
84
|
+
* so every publisher computes identical blobs for a host.
|
|
85
|
+
*/
|
|
86
|
+
resolveHost: (host: string) => Promise<ResolvedHost | null>;
|
|
87
|
+
/** The issuer host tenant subdomains hang off — see `wfpTenantHost`. */
|
|
88
|
+
issuerHost: string;
|
|
89
|
+
/** Key prefix; must match the proxy reader. Defaults to the shared default. */
|
|
90
|
+
keyPrefix?: string;
|
|
91
|
+
/**
|
|
92
|
+
* Optional `ctx.waitUntil` so the fire-and-forget KV publish runs to
|
|
93
|
+
* completion without blocking (or failing) the originating write. When
|
|
94
|
+
* omitted, the publish is detached with its rejection swallowed.
|
|
95
|
+
*/
|
|
96
|
+
waitUntil?: (promise: Promise<unknown>) => void;
|
|
97
|
+
/** Optional hook invoked when a publish fails. */
|
|
98
|
+
onError?: (err: unknown, ctx: {
|
|
99
|
+
host: string;
|
|
100
|
+
op: string;
|
|
101
|
+
}) => void;
|
|
102
|
+
}
|
|
103
|
+
/**
|
|
104
|
+
* Wrap a control plane's `tenants` adapter so every WFP-tenant mutation
|
|
105
|
+
* republishes (or deletes) the tenant's platform-subdomain routing blob in KV
|
|
106
|
+
* — the tenants-table counterpart of `wrapProxyAdaptersWithKvPublish`.
|
|
107
|
+
*
|
|
108
|
+
* This is the single choke-point for WFP subdomain routing: the provisioner
|
|
109
|
+
* flips `provisioning_state` to `"ready"` through `tenants.update`, which
|
|
110
|
+
* publishes the dispatch route the moment the tenant Worker is servable —
|
|
111
|
+
* inline hook and durable-workflow paths alike, with no per-path wiring. A
|
|
112
|
+
* remove deletes the key, so a deprovisioned tenant's host falls back to the
|
|
113
|
+
* proxy's default chain instead of dispatching to a dead script.
|
|
114
|
+
*
|
|
115
|
+
* Shared (non-WFP) tenants never touch KV, and neither do wfp tenants whose
|
|
116
|
+
* id is not a lowercase DNS label (`isWfpSubdomainSafeTenantId`) — such ids
|
|
117
|
+
* cannot round-trip through a hostname, so publishing them would only create
|
|
118
|
+
* dead keys. Publishing is fire-and-forget; silent drift is corrected by the
|
|
119
|
+
* periodic reconcile (`backfillProxyHostsToKv` over `wfpTenantHost`-derived
|
|
120
|
+
* hosts).
|
|
121
|
+
*/
|
|
122
|
+
export declare function wrapTenantsAdapterWithWfpKvPublish(options: WfpTenantsKvPublishOptions): TenantsDataAdapter;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -357,7 +357,7 @@ export declare function initJSXRoute(ctx: Context<{
|
|
|
357
357
|
active?: boolean | undefined;
|
|
358
358
|
} | undefined;
|
|
359
359
|
signup?: {
|
|
360
|
-
status?: "
|
|
360
|
+
status?: "optional" | "required" | "disabled" | undefined;
|
|
361
361
|
verification?: {
|
|
362
362
|
active?: boolean | undefined;
|
|
363
363
|
} | undefined;
|
|
@@ -367,14 +367,14 @@ export declare function initJSXRoute(ctx: Context<{
|
|
|
367
367
|
} | undefined;
|
|
368
368
|
unique?: boolean | undefined;
|
|
369
369
|
profile_required?: boolean | undefined;
|
|
370
|
-
verification_method?: "
|
|
370
|
+
verification_method?: "link" | "code" | undefined;
|
|
371
371
|
} | undefined;
|
|
372
372
|
username?: {
|
|
373
373
|
identifier?: {
|
|
374
374
|
active?: boolean | undefined;
|
|
375
375
|
} | undefined;
|
|
376
376
|
signup?: {
|
|
377
|
-
status?: "
|
|
377
|
+
status?: "optional" | "required" | "disabled" | undefined;
|
|
378
378
|
} | undefined;
|
|
379
379
|
validation?: {
|
|
380
380
|
max_length?: number | undefined;
|
|
@@ -391,7 +391,7 @@ export declare function initJSXRoute(ctx: Context<{
|
|
|
391
391
|
active?: boolean | undefined;
|
|
392
392
|
} | undefined;
|
|
393
393
|
signup?: {
|
|
394
|
-
status?: "
|
|
394
|
+
status?: "optional" | "required" | "disabled" | undefined;
|
|
395
395
|
} | undefined;
|
|
396
396
|
} | undefined;
|
|
397
397
|
} | undefined;
|
|
@@ -448,7 +448,7 @@ export declare function initJSXRoute(ctx: Context<{
|
|
|
448
448
|
custom_login_page_preview?: string | undefined;
|
|
449
449
|
form_template?: string | undefined;
|
|
450
450
|
addons?: Record<string, any> | undefined;
|
|
451
|
-
token_endpoint_auth_method?: "client_secret_post" | "client_secret_basic" | "none" | "
|
|
451
|
+
token_endpoint_auth_method?: "client_secret_post" | "client_secret_basic" | "none" | "client_secret_jwt" | "private_key_jwt" | undefined;
|
|
452
452
|
client_metadata?: Record<string, string> | undefined;
|
|
453
453
|
hide_sign_up_disabled_error?: boolean | undefined;
|
|
454
454
|
mobile?: Record<string, any> | undefined;
|
|
@@ -1078,7 +1078,7 @@ export declare function initJSXRouteWithSession(ctx: Context<{
|
|
|
1078
1078
|
active?: boolean | undefined;
|
|
1079
1079
|
} | undefined;
|
|
1080
1080
|
signup?: {
|
|
1081
|
-
status?: "
|
|
1081
|
+
status?: "optional" | "required" | "disabled" | undefined;
|
|
1082
1082
|
verification?: {
|
|
1083
1083
|
active?: boolean | undefined;
|
|
1084
1084
|
} | undefined;
|
|
@@ -1088,14 +1088,14 @@ export declare function initJSXRouteWithSession(ctx: Context<{
|
|
|
1088
1088
|
} | undefined;
|
|
1089
1089
|
unique?: boolean | undefined;
|
|
1090
1090
|
profile_required?: boolean | undefined;
|
|
1091
|
-
verification_method?: "
|
|
1091
|
+
verification_method?: "link" | "code" | undefined;
|
|
1092
1092
|
} | undefined;
|
|
1093
1093
|
username?: {
|
|
1094
1094
|
identifier?: {
|
|
1095
1095
|
active?: boolean | undefined;
|
|
1096
1096
|
} | undefined;
|
|
1097
1097
|
signup?: {
|
|
1098
|
-
status?: "
|
|
1098
|
+
status?: "optional" | "required" | "disabled" | undefined;
|
|
1099
1099
|
} | undefined;
|
|
1100
1100
|
validation?: {
|
|
1101
1101
|
max_length?: number | undefined;
|
|
@@ -1112,7 +1112,7 @@ export declare function initJSXRouteWithSession(ctx: Context<{
|
|
|
1112
1112
|
active?: boolean | undefined;
|
|
1113
1113
|
} | undefined;
|
|
1114
1114
|
signup?: {
|
|
1115
|
-
status?: "
|
|
1115
|
+
status?: "optional" | "required" | "disabled" | undefined;
|
|
1116
1116
|
} | undefined;
|
|
1117
1117
|
} | undefined;
|
|
1118
1118
|
} | undefined;
|
|
@@ -1169,7 +1169,7 @@ export declare function initJSXRouteWithSession(ctx: Context<{
|
|
|
1169
1169
|
custom_login_page_preview?: string | undefined;
|
|
1170
1170
|
form_template?: string | undefined;
|
|
1171
1171
|
addons?: Record<string, any> | undefined;
|
|
1172
|
-
token_endpoint_auth_method?: "client_secret_post" | "client_secret_basic" | "none" | "
|
|
1172
|
+
token_endpoint_auth_method?: "client_secret_post" | "client_secret_basic" | "none" | "client_secret_jwt" | "private_key_jwt" | undefined;
|
|
1173
1173
|
client_metadata?: Record<string, string> | undefined;
|
|
1174
1174
|
hide_sign_up_disabled_error?: boolean | undefined;
|
|
1175
1175
|
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: {};
|