authhero 5.12.0 → 5.13.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/authhero.cjs +129 -129
- package/dist/authhero.d.ts +115 -79
- package/dist/authhero.mjs +9852 -9643
- package/dist/stats.html +1 -1
- package/dist/tsconfig.types.tsbuildinfo +1 -1
- package/dist/types/adapters/createEncryptedDataAdapter.d.ts +14 -0
- package/dist/types/adapters/index.d.ts +2 -0
- package/dist/types/authentication-flows/passwordless.d.ts +3 -3
- package/dist/types/helpers/custom-domain.d.ts +8 -0
- package/dist/types/helpers/service-token.d.ts +11 -1
- package/dist/types/index.d.ts +78 -78
- package/dist/types/routes/auth-api/index.d.ts +22 -22
- package/dist/types/routes/auth-api/passwordless.d.ts +14 -14
- package/dist/types/routes/auth-api/revoke.d.ts +6 -6
- package/dist/types/routes/management-api/action-executions.d.ts +2 -2
- package/dist/types/routes/management-api/actions.d.ts +1 -1
- package/dist/types/routes/management-api/authentication-methods.d.ts +1 -1
- package/dist/types/routes/management-api/client-grants.d.ts +8 -8
- package/dist/types/routes/management-api/clients.d.ts +6 -6
- package/dist/types/routes/management-api/custom-domains.d.ts +6 -6
- package/dist/types/routes/management-api/email-templates.d.ts +14 -14
- package/dist/types/routes/management-api/failed-events.d.ts +1 -1
- package/dist/types/routes/management-api/forms.d.ts +119 -119
- package/dist/types/routes/management-api/index.d.ts +53 -53
- package/dist/types/routes/management-api/logs.d.ts +3 -3
- package/dist/types/routes/management-api/migration-sources.d.ts +6 -6
- 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/users.d.ts +2 -2
- package/dist/types/routes/universal-login/common.d.ts +2 -2
- package/dist/types/routes/universal-login/u2-index.d.ts +3 -3
- package/dist/types/routes/universal-login/u2-routes.d.ts +3 -3
- package/dist/types/types/Bindings.d.ts +1 -0
- package/dist/types/utils/field-encryption.d.ts +21 -0
- package/package.json +3 -3
package/dist/authhero.d.ts
CHANGED
|
@@ -1240,6 +1240,7 @@ type Bindings = {
|
|
|
1240
1240
|
ISSUER: string;
|
|
1241
1241
|
UNIVERSAL_LOGIN_URL?: string;
|
|
1242
1242
|
OAUTH_API_URL?: string;
|
|
1243
|
+
ENCRYPTION_KEY?: string;
|
|
1243
1244
|
data: DataAdapters;
|
|
1244
1245
|
hooks?: Hooks;
|
|
1245
1246
|
/**
|
|
@@ -1620,6 +1621,41 @@ interface InMemoryCacheConfig {
|
|
|
1620
1621
|
*/
|
|
1621
1622
|
declare function createInMemoryCache(config?: InMemoryCacheConfig): CacheAdapter;
|
|
1622
1623
|
|
|
1624
|
+
/**
|
|
1625
|
+
* Wraps a DataAdapters instance so that sensitive credential fields are
|
|
1626
|
+
* transparently encrypted on write and decrypted on read. Only the adapters
|
|
1627
|
+
* that hold secrets are wrapped; everything else passes through unchanged.
|
|
1628
|
+
*
|
|
1629
|
+
* Encrypted columns: clients.client_secret, connections.options
|
|
1630
|
+
* (client_secret/app_secret/twilio_token/configuration.client_secret),
|
|
1631
|
+
* email_providers.credentials, authentication_methods.totp_secret,
|
|
1632
|
+
* migration_sources.credentials.client_secret.
|
|
1633
|
+
*
|
|
1634
|
+
* Private keys (keys.pkcs7, dkim_private_key) are intentionally NOT covered.
|
|
1635
|
+
*/
|
|
1636
|
+
declare function createEncryptedDataAdapter(data: DataAdapters, key: CryptoKey): DataAdapters;
|
|
1637
|
+
|
|
1638
|
+
declare const PREFIX = "enc:v1:";
|
|
1639
|
+
type EncryptedField = `${typeof PREFIX}${string}`;
|
|
1640
|
+
declare function isEncrypted(value: string): value is EncryptedField;
|
|
1641
|
+
/**
|
|
1642
|
+
* Imports a base64-encoded 32-byte key as an AES-256-GCM CryptoKey. Throws if
|
|
1643
|
+
* the decoded key is not exactly 32 bytes so a misconfigured secret fails loudly
|
|
1644
|
+
* at boot rather than silently weakening encryption.
|
|
1645
|
+
*/
|
|
1646
|
+
declare function loadEncryptionKey(b64: string): Promise<CryptoKey>;
|
|
1647
|
+
/**
|
|
1648
|
+
* Encrypts a string with AES-256-GCM using a fresh random IV. The output is
|
|
1649
|
+
* `enc:v1:<base64url(iv ‖ ciphertext ‖ tag)>`.
|
|
1650
|
+
*/
|
|
1651
|
+
declare function encryptField(plaintext: string, key: CryptoKey): Promise<EncryptedField>;
|
|
1652
|
+
/**
|
|
1653
|
+
* Decrypts a value produced by `encryptField`. Values without the `enc:v1:`
|
|
1654
|
+
* prefix are assumed to be legacy plaintext and returned unchanged. Throws if a
|
|
1655
|
+
* prefixed value cannot be decrypted (wrong key or corrupted ciphertext).
|
|
1656
|
+
*/
|
|
1657
|
+
declare function decryptField(value: string, key: CryptoKey): Promise<string>;
|
|
1658
|
+
|
|
1623
1659
|
declare const mailgunCredentialsSchema: z.ZodObject<{
|
|
1624
1660
|
api_key: z.ZodString;
|
|
1625
1661
|
domain: z.ZodString;
|
|
@@ -2423,7 +2459,7 @@ declare function init(config: AuthHeroConfig): {
|
|
|
2423
2459
|
};
|
|
2424
2460
|
} & {
|
|
2425
2461
|
json: {
|
|
2426
|
-
type: "email" | "
|
|
2462
|
+
type: "email" | "push" | "passkey" | "phone" | "totp" | "webauthn-roaming" | "webauthn-platform";
|
|
2427
2463
|
phone_number?: string | undefined;
|
|
2428
2464
|
totp_secret?: string | undefined;
|
|
2429
2465
|
credential_id?: string | undefined;
|
|
@@ -2563,7 +2599,7 @@ declare function init(config: AuthHeroConfig): {
|
|
|
2563
2599
|
};
|
|
2564
2600
|
};
|
|
2565
2601
|
output: {
|
|
2566
|
-
name: "email" | "
|
|
2602
|
+
name: "email" | "webauthn-roaming" | "webauthn-platform" | "sms" | "otp" | "duo" | "push-notification" | "recovery-code";
|
|
2567
2603
|
enabled: boolean;
|
|
2568
2604
|
trial_expired?: boolean | undefined;
|
|
2569
2605
|
}[];
|
|
@@ -2718,7 +2754,7 @@ declare function init(config: AuthHeroConfig): {
|
|
|
2718
2754
|
$get: {
|
|
2719
2755
|
input: {
|
|
2720
2756
|
param: {
|
|
2721
|
-
factor_name: "email" | "
|
|
2757
|
+
factor_name: "email" | "webauthn-roaming" | "webauthn-platform" | "sms" | "otp" | "duo" | "push-notification" | "recovery-code";
|
|
2722
2758
|
};
|
|
2723
2759
|
} & {
|
|
2724
2760
|
header: {
|
|
@@ -2726,7 +2762,7 @@ declare function init(config: AuthHeroConfig): {
|
|
|
2726
2762
|
};
|
|
2727
2763
|
};
|
|
2728
2764
|
output: {
|
|
2729
|
-
name: "email" | "
|
|
2765
|
+
name: "email" | "webauthn-roaming" | "webauthn-platform" | "sms" | "otp" | "duo" | "push-notification" | "recovery-code";
|
|
2730
2766
|
enabled: boolean;
|
|
2731
2767
|
trial_expired?: boolean | undefined;
|
|
2732
2768
|
};
|
|
@@ -2739,7 +2775,7 @@ declare function init(config: AuthHeroConfig): {
|
|
|
2739
2775
|
$put: {
|
|
2740
2776
|
input: {
|
|
2741
2777
|
param: {
|
|
2742
|
-
factor_name: "email" | "
|
|
2778
|
+
factor_name: "email" | "webauthn-roaming" | "webauthn-platform" | "sms" | "otp" | "duo" | "push-notification" | "recovery-code";
|
|
2743
2779
|
};
|
|
2744
2780
|
} & {
|
|
2745
2781
|
header: {
|
|
@@ -2751,7 +2787,7 @@ declare function init(config: AuthHeroConfig): {
|
|
|
2751
2787
|
};
|
|
2752
2788
|
};
|
|
2753
2789
|
output: {
|
|
2754
|
-
name: "email" | "
|
|
2790
|
+
name: "email" | "webauthn-roaming" | "webauthn-platform" | "sms" | "otp" | "duo" | "push-notification" | "recovery-code";
|
|
2755
2791
|
enabled: boolean;
|
|
2756
2792
|
trial_expired?: boolean | undefined;
|
|
2757
2793
|
};
|
|
@@ -3497,11 +3533,11 @@ declare function init(config: AuthHeroConfig): {
|
|
|
3497
3533
|
email?: string | undefined;
|
|
3498
3534
|
};
|
|
3499
3535
|
id?: string | undefined;
|
|
3536
|
+
connection_id?: string | undefined;
|
|
3500
3537
|
app_metadata?: Record<string, any> | undefined;
|
|
3501
3538
|
user_metadata?: Record<string, any> | undefined;
|
|
3502
|
-
roles?: string[] | undefined;
|
|
3503
|
-
connection_id?: string | undefined;
|
|
3504
3539
|
ttl_sec?: number | undefined;
|
|
3540
|
+
roles?: string[] | undefined;
|
|
3505
3541
|
send_invitation_email?: boolean | undefined;
|
|
3506
3542
|
};
|
|
3507
3543
|
};
|
|
@@ -8987,7 +9023,7 @@ declare function init(config: AuthHeroConfig): {
|
|
|
8987
9023
|
};
|
|
8988
9024
|
};
|
|
8989
9025
|
output: {
|
|
8990
|
-
prompt: "
|
|
9026
|
+
prompt: "mfa" | "organizations" | "signup" | "status" | "invitation" | "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" | "common" | "passkeys" | "captcha" | "custom-form" | "login-passwordless" | "mfa-login-options";
|
|
8991
9027
|
language: string;
|
|
8992
9028
|
}[];
|
|
8993
9029
|
outputFormat: "json";
|
|
@@ -9025,7 +9061,7 @@ declare function init(config: AuthHeroConfig): {
|
|
|
9025
9061
|
$get: {
|
|
9026
9062
|
input: {
|
|
9027
9063
|
param: {
|
|
9028
|
-
prompt: "
|
|
9064
|
+
prompt: "mfa" | "organizations" | "signup" | "status" | "invitation" | "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" | "common" | "passkeys" | "captcha" | "custom-form" | "login-passwordless" | "mfa-login-options";
|
|
9029
9065
|
language: string;
|
|
9030
9066
|
};
|
|
9031
9067
|
} & {
|
|
@@ -9047,7 +9083,7 @@ declare function init(config: AuthHeroConfig): {
|
|
|
9047
9083
|
$put: {
|
|
9048
9084
|
input: {
|
|
9049
9085
|
param: {
|
|
9050
|
-
prompt: "
|
|
9086
|
+
prompt: "mfa" | "organizations" | "signup" | "status" | "invitation" | "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" | "common" | "passkeys" | "captcha" | "custom-form" | "login-passwordless" | "mfa-login-options";
|
|
9051
9087
|
language: string;
|
|
9052
9088
|
};
|
|
9053
9089
|
} & {
|
|
@@ -9071,7 +9107,7 @@ declare function init(config: AuthHeroConfig): {
|
|
|
9071
9107
|
$delete: {
|
|
9072
9108
|
input: {
|
|
9073
9109
|
param: {
|
|
9074
|
-
prompt: "
|
|
9110
|
+
prompt: "mfa" | "organizations" | "signup" | "status" | "invitation" | "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" | "common" | "passkeys" | "captcha" | "custom-form" | "login-passwordless" | "mfa-login-options";
|
|
9075
9111
|
language: string;
|
|
9076
9112
|
};
|
|
9077
9113
|
} & {
|
|
@@ -10820,7 +10856,7 @@ declare function init(config: AuthHeroConfig): {
|
|
|
10820
10856
|
created_at: string;
|
|
10821
10857
|
updated_at: string;
|
|
10822
10858
|
name: string;
|
|
10823
|
-
provider: "auth0" | "
|
|
10859
|
+
provider: "auth0" | "cognito" | "okta" | "oidc";
|
|
10824
10860
|
connection: string;
|
|
10825
10861
|
enabled: boolean;
|
|
10826
10862
|
credentials: {
|
|
@@ -10852,7 +10888,7 @@ declare function init(config: AuthHeroConfig): {
|
|
|
10852
10888
|
created_at: string;
|
|
10853
10889
|
updated_at: string;
|
|
10854
10890
|
name: string;
|
|
10855
|
-
provider: "auth0" | "
|
|
10891
|
+
provider: "auth0" | "cognito" | "okta" | "oidc";
|
|
10856
10892
|
connection: string;
|
|
10857
10893
|
enabled: boolean;
|
|
10858
10894
|
credentials: {
|
|
@@ -10878,7 +10914,7 @@ declare function init(config: AuthHeroConfig): {
|
|
|
10878
10914
|
} & {
|
|
10879
10915
|
json: {
|
|
10880
10916
|
name: string;
|
|
10881
|
-
provider: "auth0" | "
|
|
10917
|
+
provider: "auth0" | "cognito" | "okta" | "oidc";
|
|
10882
10918
|
connection: string;
|
|
10883
10919
|
credentials: {
|
|
10884
10920
|
domain: string;
|
|
@@ -10895,7 +10931,7 @@ declare function init(config: AuthHeroConfig): {
|
|
|
10895
10931
|
created_at: string;
|
|
10896
10932
|
updated_at: string;
|
|
10897
10933
|
name: string;
|
|
10898
|
-
provider: "auth0" | "
|
|
10934
|
+
provider: "auth0" | "cognito" | "okta" | "oidc";
|
|
10899
10935
|
connection: string;
|
|
10900
10936
|
enabled: boolean;
|
|
10901
10937
|
credentials: {
|
|
@@ -10926,7 +10962,7 @@ declare function init(config: AuthHeroConfig): {
|
|
|
10926
10962
|
json: {
|
|
10927
10963
|
id?: string | undefined;
|
|
10928
10964
|
name?: string | undefined;
|
|
10929
|
-
provider?: "auth0" | "
|
|
10965
|
+
provider?: "auth0" | "cognito" | "okta" | "oidc" | undefined;
|
|
10930
10966
|
connection?: string | undefined;
|
|
10931
10967
|
enabled?: boolean | undefined;
|
|
10932
10968
|
credentials?: {
|
|
@@ -10942,7 +10978,7 @@ declare function init(config: AuthHeroConfig): {
|
|
|
10942
10978
|
created_at: string;
|
|
10943
10979
|
updated_at: string;
|
|
10944
10980
|
name: string;
|
|
10945
|
-
provider: "auth0" | "
|
|
10981
|
+
provider: "auth0" | "cognito" | "okta" | "oidc";
|
|
10946
10982
|
connection: string;
|
|
10947
10983
|
enabled: boolean;
|
|
10948
10984
|
credentials: {
|
|
@@ -11160,7 +11196,7 @@ declare function init(config: AuthHeroConfig): {
|
|
|
11160
11196
|
};
|
|
11161
11197
|
};
|
|
11162
11198
|
output: {
|
|
11163
|
-
type: "
|
|
11199
|
+
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" | "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" | "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";
|
|
11164
11200
|
date: string;
|
|
11165
11201
|
isMobile: boolean;
|
|
11166
11202
|
log_id: string;
|
|
@@ -11199,7 +11235,7 @@ declare function init(config: AuthHeroConfig): {
|
|
|
11199
11235
|
limit: number;
|
|
11200
11236
|
length: number;
|
|
11201
11237
|
logs: {
|
|
11202
|
-
type: "
|
|
11238
|
+
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" | "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" | "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";
|
|
11203
11239
|
date: string;
|
|
11204
11240
|
isMobile: boolean;
|
|
11205
11241
|
log_id: string;
|
|
@@ -11253,7 +11289,7 @@ declare function init(config: AuthHeroConfig): {
|
|
|
11253
11289
|
};
|
|
11254
11290
|
};
|
|
11255
11291
|
output: {
|
|
11256
|
-
type: "
|
|
11292
|
+
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" | "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" | "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";
|
|
11257
11293
|
date: string;
|
|
11258
11294
|
isMobile: boolean;
|
|
11259
11295
|
log_id: string;
|
|
@@ -11334,7 +11370,7 @@ declare function init(config: AuthHeroConfig): {
|
|
|
11334
11370
|
audience?: string | undefined;
|
|
11335
11371
|
client_id?: string | undefined;
|
|
11336
11372
|
allow_any_organization?: string | undefined;
|
|
11337
|
-
subject_type?: "
|
|
11373
|
+
subject_type?: "user" | "client" | undefined;
|
|
11338
11374
|
};
|
|
11339
11375
|
} & {
|
|
11340
11376
|
header: {
|
|
@@ -11349,7 +11385,7 @@ declare function init(config: AuthHeroConfig): {
|
|
|
11349
11385
|
organization_usage?: "deny" | "allow" | "require" | undefined;
|
|
11350
11386
|
allow_any_organization?: boolean | undefined;
|
|
11351
11387
|
is_system?: boolean | undefined;
|
|
11352
|
-
subject_type?: "
|
|
11388
|
+
subject_type?: "user" | "client" | undefined;
|
|
11353
11389
|
authorization_details_types?: string[] | undefined;
|
|
11354
11390
|
created_at?: string | undefined;
|
|
11355
11391
|
updated_at?: string | undefined;
|
|
@@ -11365,7 +11401,7 @@ declare function init(config: AuthHeroConfig): {
|
|
|
11365
11401
|
organization_usage?: "deny" | "allow" | "require" | undefined;
|
|
11366
11402
|
allow_any_organization?: boolean | undefined;
|
|
11367
11403
|
is_system?: boolean | undefined;
|
|
11368
|
-
subject_type?: "
|
|
11404
|
+
subject_type?: "user" | "client" | undefined;
|
|
11369
11405
|
authorization_details_types?: string[] | undefined;
|
|
11370
11406
|
created_at?: string | undefined;
|
|
11371
11407
|
updated_at?: string | undefined;
|
|
@@ -11396,7 +11432,7 @@ declare function init(config: AuthHeroConfig): {
|
|
|
11396
11432
|
organization_usage?: "deny" | "allow" | "require" | undefined;
|
|
11397
11433
|
allow_any_organization?: boolean | undefined;
|
|
11398
11434
|
is_system?: boolean | undefined;
|
|
11399
|
-
subject_type?: "
|
|
11435
|
+
subject_type?: "user" | "client" | undefined;
|
|
11400
11436
|
authorization_details_types?: string[] | undefined;
|
|
11401
11437
|
created_at?: string | undefined;
|
|
11402
11438
|
updated_at?: string | undefined;
|
|
@@ -11441,7 +11477,7 @@ declare function init(config: AuthHeroConfig): {
|
|
|
11441
11477
|
organization_usage?: "deny" | "allow" | "require" | undefined;
|
|
11442
11478
|
allow_any_organization?: boolean | undefined;
|
|
11443
11479
|
is_system?: boolean | undefined;
|
|
11444
|
-
subject_type?: "
|
|
11480
|
+
subject_type?: "user" | "client" | undefined;
|
|
11445
11481
|
authorization_details_types?: string[] | undefined;
|
|
11446
11482
|
};
|
|
11447
11483
|
};
|
|
@@ -11453,7 +11489,7 @@ declare function init(config: AuthHeroConfig): {
|
|
|
11453
11489
|
organization_usage?: "deny" | "allow" | "require" | undefined;
|
|
11454
11490
|
allow_any_organization?: boolean | undefined;
|
|
11455
11491
|
is_system?: boolean | undefined;
|
|
11456
|
-
subject_type?: "
|
|
11492
|
+
subject_type?: "user" | "client" | undefined;
|
|
11457
11493
|
authorization_details_types?: string[] | undefined;
|
|
11458
11494
|
created_at?: string | undefined;
|
|
11459
11495
|
updated_at?: string | undefined;
|
|
@@ -11477,7 +11513,7 @@ declare function init(config: AuthHeroConfig): {
|
|
|
11477
11513
|
organization_usage?: "deny" | "allow" | "require" | undefined;
|
|
11478
11514
|
allow_any_organization?: boolean | undefined;
|
|
11479
11515
|
is_system?: boolean | undefined;
|
|
11480
|
-
subject_type?: "
|
|
11516
|
+
subject_type?: "user" | "client" | undefined;
|
|
11481
11517
|
authorization_details_types?: string[] | undefined;
|
|
11482
11518
|
};
|
|
11483
11519
|
};
|
|
@@ -11489,7 +11525,7 @@ declare function init(config: AuthHeroConfig): {
|
|
|
11489
11525
|
organization_usage?: "deny" | "allow" | "require" | undefined;
|
|
11490
11526
|
allow_any_organization?: boolean | undefined;
|
|
11491
11527
|
is_system?: boolean | undefined;
|
|
11492
|
-
subject_type?: "
|
|
11528
|
+
subject_type?: "user" | "client" | undefined;
|
|
11493
11529
|
authorization_details_types?: string[] | undefined;
|
|
11494
11530
|
created_at?: string | undefined;
|
|
11495
11531
|
updated_at?: string | undefined;
|
|
@@ -11567,7 +11603,7 @@ declare function init(config: AuthHeroConfig): {
|
|
|
11567
11603
|
addons?: {
|
|
11568
11604
|
[x: string]: any;
|
|
11569
11605
|
} | undefined;
|
|
11570
|
-
token_endpoint_auth_method?: "
|
|
11606
|
+
token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | "private_key_jwt" | undefined;
|
|
11571
11607
|
client_metadata?: {
|
|
11572
11608
|
[x: string]: string;
|
|
11573
11609
|
} | undefined;
|
|
@@ -11663,7 +11699,7 @@ declare function init(config: AuthHeroConfig): {
|
|
|
11663
11699
|
addons?: {
|
|
11664
11700
|
[x: string]: any;
|
|
11665
11701
|
} | undefined;
|
|
11666
|
-
token_endpoint_auth_method?: "
|
|
11702
|
+
token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | "private_key_jwt" | undefined;
|
|
11667
11703
|
client_metadata?: {
|
|
11668
11704
|
[x: string]: string;
|
|
11669
11705
|
} | undefined;
|
|
@@ -11774,7 +11810,7 @@ declare function init(config: AuthHeroConfig): {
|
|
|
11774
11810
|
addons?: {
|
|
11775
11811
|
[x: string]: any;
|
|
11776
11812
|
} | undefined;
|
|
11777
|
-
token_endpoint_auth_method?: "
|
|
11813
|
+
token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | "private_key_jwt" | undefined;
|
|
11778
11814
|
client_metadata?: {
|
|
11779
11815
|
[x: string]: string;
|
|
11780
11816
|
} | undefined;
|
|
@@ -11884,7 +11920,7 @@ declare function init(config: AuthHeroConfig): {
|
|
|
11884
11920
|
custom_login_page_preview?: string | undefined;
|
|
11885
11921
|
form_template?: string | undefined;
|
|
11886
11922
|
addons?: Record<string, any> | undefined;
|
|
11887
|
-
token_endpoint_auth_method?: "
|
|
11923
|
+
token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | "private_key_jwt" | undefined;
|
|
11888
11924
|
client_metadata?: Record<string, string> | undefined;
|
|
11889
11925
|
hide_sign_up_disabled_error?: boolean | undefined;
|
|
11890
11926
|
mobile?: Record<string, any> | undefined;
|
|
@@ -11964,7 +12000,7 @@ declare function init(config: AuthHeroConfig): {
|
|
|
11964
12000
|
addons?: {
|
|
11965
12001
|
[x: string]: any;
|
|
11966
12002
|
} | undefined;
|
|
11967
|
-
token_endpoint_auth_method?: "
|
|
12003
|
+
token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | "private_key_jwt" | undefined;
|
|
11968
12004
|
client_metadata?: {
|
|
11969
12005
|
[x: string]: string;
|
|
11970
12006
|
} | undefined;
|
|
@@ -12053,7 +12089,7 @@ declare function init(config: AuthHeroConfig): {
|
|
|
12053
12089
|
custom_login_page_preview?: string | undefined;
|
|
12054
12090
|
form_template?: string | undefined;
|
|
12055
12091
|
addons?: Record<string, any> | undefined;
|
|
12056
|
-
token_endpoint_auth_method?: "
|
|
12092
|
+
token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | "private_key_jwt" | undefined;
|
|
12057
12093
|
client_metadata?: Record<string, string> | undefined;
|
|
12058
12094
|
hide_sign_up_disabled_error?: boolean | undefined;
|
|
12059
12095
|
mobile?: Record<string, any> | undefined;
|
|
@@ -12133,7 +12169,7 @@ declare function init(config: AuthHeroConfig): {
|
|
|
12133
12169
|
addons?: {
|
|
12134
12170
|
[x: string]: any;
|
|
12135
12171
|
} | undefined;
|
|
12136
|
-
token_endpoint_auth_method?: "
|
|
12172
|
+
token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | "private_key_jwt" | undefined;
|
|
12137
12173
|
client_metadata?: {
|
|
12138
12174
|
[x: string]: string;
|
|
12139
12175
|
} | undefined;
|
|
@@ -13397,7 +13433,7 @@ declare function init(config: AuthHeroConfig): {
|
|
|
13397
13433
|
};
|
|
13398
13434
|
};
|
|
13399
13435
|
output: {
|
|
13400
|
-
type: "
|
|
13436
|
+
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" | "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" | "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";
|
|
13401
13437
|
date: string;
|
|
13402
13438
|
isMobile: boolean;
|
|
13403
13439
|
log_id: string;
|
|
@@ -13436,7 +13472,7 @@ declare function init(config: AuthHeroConfig): {
|
|
|
13436
13472
|
limit: number;
|
|
13437
13473
|
length: number;
|
|
13438
13474
|
logs: {
|
|
13439
|
-
type: "
|
|
13475
|
+
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" | "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" | "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";
|
|
13440
13476
|
date: string;
|
|
13441
13477
|
isMobile: boolean;
|
|
13442
13478
|
log_id: string;
|
|
@@ -13751,7 +13787,7 @@ declare function init(config: AuthHeroConfig): {
|
|
|
13751
13787
|
};
|
|
13752
13788
|
} & {
|
|
13753
13789
|
json: {
|
|
13754
|
-
template: "change_password" | "
|
|
13790
|
+
template: "change_password" | "password_reset" | "verify_email" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
|
|
13755
13791
|
body: string;
|
|
13756
13792
|
from: string;
|
|
13757
13793
|
subject: string;
|
|
@@ -13772,7 +13808,7 @@ declare function init(config: AuthHeroConfig): {
|
|
|
13772
13808
|
};
|
|
13773
13809
|
} & {
|
|
13774
13810
|
json: {
|
|
13775
|
-
template: "change_password" | "
|
|
13811
|
+
template: "change_password" | "password_reset" | "verify_email" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
|
|
13776
13812
|
body: string;
|
|
13777
13813
|
from: string;
|
|
13778
13814
|
subject: string;
|
|
@@ -13784,7 +13820,7 @@ declare function init(config: AuthHeroConfig): {
|
|
|
13784
13820
|
};
|
|
13785
13821
|
};
|
|
13786
13822
|
output: {
|
|
13787
|
-
template: "change_password" | "
|
|
13823
|
+
template: "change_password" | "password_reset" | "verify_email" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
|
|
13788
13824
|
body: string;
|
|
13789
13825
|
from: string;
|
|
13790
13826
|
subject: string;
|
|
@@ -13803,7 +13839,7 @@ declare function init(config: AuthHeroConfig): {
|
|
|
13803
13839
|
$get: {
|
|
13804
13840
|
input: {
|
|
13805
13841
|
param: {
|
|
13806
|
-
templateName: "change_password" | "
|
|
13842
|
+
templateName: "change_password" | "password_reset" | "verify_email" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
|
|
13807
13843
|
};
|
|
13808
13844
|
} & {
|
|
13809
13845
|
header: {
|
|
@@ -13816,7 +13852,7 @@ declare function init(config: AuthHeroConfig): {
|
|
|
13816
13852
|
} | {
|
|
13817
13853
|
input: {
|
|
13818
13854
|
param: {
|
|
13819
|
-
templateName: "change_password" | "
|
|
13855
|
+
templateName: "change_password" | "password_reset" | "verify_email" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
|
|
13820
13856
|
};
|
|
13821
13857
|
} & {
|
|
13822
13858
|
header: {
|
|
@@ -13824,7 +13860,7 @@ declare function init(config: AuthHeroConfig): {
|
|
|
13824
13860
|
};
|
|
13825
13861
|
};
|
|
13826
13862
|
output: {
|
|
13827
|
-
template: "change_password" | "
|
|
13863
|
+
template: "change_password" | "password_reset" | "verify_email" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
|
|
13828
13864
|
body: string;
|
|
13829
13865
|
from: string;
|
|
13830
13866
|
subject: string;
|
|
@@ -13843,7 +13879,7 @@ declare function init(config: AuthHeroConfig): {
|
|
|
13843
13879
|
$put: {
|
|
13844
13880
|
input: {
|
|
13845
13881
|
param: {
|
|
13846
|
-
templateName: "change_password" | "
|
|
13882
|
+
templateName: "change_password" | "password_reset" | "verify_email" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
|
|
13847
13883
|
};
|
|
13848
13884
|
} & {
|
|
13849
13885
|
header: {
|
|
@@ -13851,7 +13887,7 @@ declare function init(config: AuthHeroConfig): {
|
|
|
13851
13887
|
};
|
|
13852
13888
|
} & {
|
|
13853
13889
|
json: {
|
|
13854
|
-
template: "change_password" | "
|
|
13890
|
+
template: "change_password" | "password_reset" | "verify_email" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
|
|
13855
13891
|
body: string;
|
|
13856
13892
|
from: string;
|
|
13857
13893
|
subject: string;
|
|
@@ -13863,7 +13899,7 @@ declare function init(config: AuthHeroConfig): {
|
|
|
13863
13899
|
};
|
|
13864
13900
|
};
|
|
13865
13901
|
output: {
|
|
13866
|
-
template: "change_password" | "
|
|
13902
|
+
template: "change_password" | "password_reset" | "verify_email" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
|
|
13867
13903
|
body: string;
|
|
13868
13904
|
from: string;
|
|
13869
13905
|
subject: string;
|
|
@@ -13882,7 +13918,7 @@ declare function init(config: AuthHeroConfig): {
|
|
|
13882
13918
|
$patch: {
|
|
13883
13919
|
input: {
|
|
13884
13920
|
param: {
|
|
13885
|
-
templateName: "change_password" | "
|
|
13921
|
+
templateName: "change_password" | "password_reset" | "verify_email" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
|
|
13886
13922
|
};
|
|
13887
13923
|
} & {
|
|
13888
13924
|
header: {
|
|
@@ -13890,7 +13926,7 @@ declare function init(config: AuthHeroConfig): {
|
|
|
13890
13926
|
};
|
|
13891
13927
|
} & {
|
|
13892
13928
|
json: {
|
|
13893
|
-
template?: "change_password" | "
|
|
13929
|
+
template?: "change_password" | "password_reset" | "verify_email" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation" | undefined;
|
|
13894
13930
|
body?: string | undefined;
|
|
13895
13931
|
from?: string | undefined;
|
|
13896
13932
|
subject?: string | undefined;
|
|
@@ -13907,7 +13943,7 @@ declare function init(config: AuthHeroConfig): {
|
|
|
13907
13943
|
} | {
|
|
13908
13944
|
input: {
|
|
13909
13945
|
param: {
|
|
13910
|
-
templateName: "change_password" | "
|
|
13946
|
+
templateName: "change_password" | "password_reset" | "verify_email" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
|
|
13911
13947
|
};
|
|
13912
13948
|
} & {
|
|
13913
13949
|
header: {
|
|
@@ -13915,7 +13951,7 @@ declare function init(config: AuthHeroConfig): {
|
|
|
13915
13951
|
};
|
|
13916
13952
|
} & {
|
|
13917
13953
|
json: {
|
|
13918
|
-
template?: "change_password" | "
|
|
13954
|
+
template?: "change_password" | "password_reset" | "verify_email" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation" | undefined;
|
|
13919
13955
|
body?: string | undefined;
|
|
13920
13956
|
from?: string | undefined;
|
|
13921
13957
|
subject?: string | undefined;
|
|
@@ -13927,7 +13963,7 @@ declare function init(config: AuthHeroConfig): {
|
|
|
13927
13963
|
};
|
|
13928
13964
|
};
|
|
13929
13965
|
output: {
|
|
13930
|
-
template: "change_password" | "
|
|
13966
|
+
template: "change_password" | "password_reset" | "verify_email" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
|
|
13931
13967
|
body: string;
|
|
13932
13968
|
from: string;
|
|
13933
13969
|
subject: string;
|
|
@@ -14898,7 +14934,7 @@ declare function init(config: AuthHeroConfig): {
|
|
|
14898
14934
|
json: {
|
|
14899
14935
|
bindings: {
|
|
14900
14936
|
ref: {
|
|
14901
|
-
type?: "
|
|
14937
|
+
type?: "action_name" | "action_id" | undefined;
|
|
14902
14938
|
value?: string | undefined;
|
|
14903
14939
|
id?: string | undefined;
|
|
14904
14940
|
name?: string | undefined;
|
|
@@ -15985,7 +16021,7 @@ declare function init(config: AuthHeroConfig): {
|
|
|
15985
16021
|
scope?: string | undefined;
|
|
15986
16022
|
grant_types?: string[] | undefined;
|
|
15987
16023
|
response_types?: string[] | undefined;
|
|
15988
|
-
token_endpoint_auth_method?: "
|
|
16024
|
+
token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | "private_key_jwt" | undefined;
|
|
15989
16025
|
jwks_uri?: string | undefined;
|
|
15990
16026
|
jwks?: Record<string, unknown> | undefined;
|
|
15991
16027
|
software_id?: string | undefined;
|
|
@@ -16074,7 +16110,7 @@ declare function init(config: AuthHeroConfig): {
|
|
|
16074
16110
|
scope?: string | undefined;
|
|
16075
16111
|
grant_types?: string[] | undefined;
|
|
16076
16112
|
response_types?: string[] | undefined;
|
|
16077
|
-
token_endpoint_auth_method?: "
|
|
16113
|
+
token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | "private_key_jwt" | undefined;
|
|
16078
16114
|
jwks_uri?: string | undefined;
|
|
16079
16115
|
jwks?: Record<string, unknown> | undefined;
|
|
16080
16116
|
software_id?: string | undefined;
|
|
@@ -16420,19 +16456,19 @@ declare function init(config: AuthHeroConfig): {
|
|
|
16420
16456
|
email: string;
|
|
16421
16457
|
send: "code" | "link";
|
|
16422
16458
|
authParams: {
|
|
16459
|
+
audience?: string | undefined;
|
|
16460
|
+
state?: string | undefined;
|
|
16461
|
+
code_challenge?: string | undefined;
|
|
16462
|
+
code_challenge_method?: _authhero_adapter_interfaces.CodeChallengeMethod | undefined;
|
|
16463
|
+
redirect_uri?: string | undefined;
|
|
16464
|
+
nonce?: string | undefined;
|
|
16423
16465
|
response_type?: _authhero_adapter_interfaces.AuthorizationResponseType | undefined;
|
|
16424
16466
|
response_mode?: _authhero_adapter_interfaces.AuthorizationResponseMode | undefined;
|
|
16425
16467
|
scope?: string | undefined;
|
|
16426
16468
|
username?: string | undefined;
|
|
16427
|
-
audience?: string | undefined;
|
|
16428
|
-
state?: string | undefined;
|
|
16429
|
-
organization?: string | undefined;
|
|
16430
|
-
nonce?: string | undefined;
|
|
16431
|
-
redirect_uri?: string | undefined;
|
|
16432
16469
|
act_as?: string | undefined;
|
|
16470
|
+
organization?: string | undefined;
|
|
16433
16471
|
prompt?: string | undefined;
|
|
16434
|
-
code_challenge_method?: _authhero_adapter_interfaces.CodeChallengeMethod | undefined;
|
|
16435
|
-
code_challenge?: string | undefined;
|
|
16436
16472
|
ui_locales?: string | undefined;
|
|
16437
16473
|
max_age?: number | undefined;
|
|
16438
16474
|
acr_values?: string | undefined;
|
|
@@ -16456,19 +16492,19 @@ declare function init(config: AuthHeroConfig): {
|
|
|
16456
16492
|
phone_number: string;
|
|
16457
16493
|
send: "code" | "link";
|
|
16458
16494
|
authParams: {
|
|
16495
|
+
audience?: string | undefined;
|
|
16496
|
+
state?: string | undefined;
|
|
16497
|
+
code_challenge?: string | undefined;
|
|
16498
|
+
code_challenge_method?: _authhero_adapter_interfaces.CodeChallengeMethod | undefined;
|
|
16499
|
+
redirect_uri?: string | undefined;
|
|
16500
|
+
nonce?: string | undefined;
|
|
16459
16501
|
response_type?: _authhero_adapter_interfaces.AuthorizationResponseType | undefined;
|
|
16460
16502
|
response_mode?: _authhero_adapter_interfaces.AuthorizationResponseMode | undefined;
|
|
16461
16503
|
scope?: string | undefined;
|
|
16462
16504
|
username?: string | undefined;
|
|
16463
|
-
audience?: string | undefined;
|
|
16464
|
-
state?: string | undefined;
|
|
16465
|
-
organization?: string | undefined;
|
|
16466
|
-
nonce?: string | undefined;
|
|
16467
|
-
redirect_uri?: string | undefined;
|
|
16468
16505
|
act_as?: string | undefined;
|
|
16506
|
+
organization?: string | undefined;
|
|
16469
16507
|
prompt?: string | undefined;
|
|
16470
|
-
code_challenge_method?: _authhero_adapter_interfaces.CodeChallengeMethod | undefined;
|
|
16471
|
-
code_challenge?: string | undefined;
|
|
16472
16508
|
ui_locales?: string | undefined;
|
|
16473
16509
|
max_age?: number | undefined;
|
|
16474
16510
|
acr_values?: string | undefined;
|
|
@@ -16600,14 +16636,14 @@ declare function init(config: AuthHeroConfig): {
|
|
|
16600
16636
|
input: {
|
|
16601
16637
|
form: {
|
|
16602
16638
|
token: string;
|
|
16603
|
-
token_type_hint?: "
|
|
16639
|
+
token_type_hint?: "refresh_token" | "access_token" | undefined;
|
|
16604
16640
|
client_id?: string | undefined;
|
|
16605
16641
|
client_secret?: string | undefined;
|
|
16606
16642
|
};
|
|
16607
16643
|
} & {
|
|
16608
16644
|
json: {
|
|
16609
16645
|
token: string;
|
|
16610
|
-
token_type_hint?: "
|
|
16646
|
+
token_type_hint?: "refresh_token" | "access_token" | undefined;
|
|
16611
16647
|
client_id?: string | undefined;
|
|
16612
16648
|
client_secret?: string | undefined;
|
|
16613
16649
|
};
|
|
@@ -16619,14 +16655,14 @@ declare function init(config: AuthHeroConfig): {
|
|
|
16619
16655
|
input: {
|
|
16620
16656
|
form: {
|
|
16621
16657
|
token: string;
|
|
16622
|
-
token_type_hint?: "
|
|
16658
|
+
token_type_hint?: "refresh_token" | "access_token" | undefined;
|
|
16623
16659
|
client_id?: string | undefined;
|
|
16624
16660
|
client_secret?: string | undefined;
|
|
16625
16661
|
};
|
|
16626
16662
|
} & {
|
|
16627
16663
|
json: {
|
|
16628
16664
|
token: string;
|
|
16629
|
-
token_type_hint?: "
|
|
16665
|
+
token_type_hint?: "refresh_token" | "access_token" | undefined;
|
|
16630
16666
|
client_id?: string | undefined;
|
|
16631
16667
|
client_secret?: string | undefined;
|
|
16632
16668
|
};
|
|
@@ -16641,14 +16677,14 @@ declare function init(config: AuthHeroConfig): {
|
|
|
16641
16677
|
input: {
|
|
16642
16678
|
form: {
|
|
16643
16679
|
token: string;
|
|
16644
|
-
token_type_hint?: "
|
|
16680
|
+
token_type_hint?: "refresh_token" | "access_token" | undefined;
|
|
16645
16681
|
client_id?: string | undefined;
|
|
16646
16682
|
client_secret?: string | undefined;
|
|
16647
16683
|
};
|
|
16648
16684
|
} & {
|
|
16649
16685
|
json: {
|
|
16650
16686
|
token: string;
|
|
16651
|
-
token_type_hint?: "
|
|
16687
|
+
token_type_hint?: "refresh_token" | "access_token" | undefined;
|
|
16652
16688
|
client_id?: string | undefined;
|
|
16653
16689
|
client_secret?: string | undefined;
|
|
16654
16690
|
};
|
|
@@ -18215,7 +18251,7 @@ declare function init(config: AuthHeroConfig): {
|
|
|
18215
18251
|
$get: {
|
|
18216
18252
|
input: {
|
|
18217
18253
|
param: {
|
|
18218
|
-
screen: "signup" | "
|
|
18254
|
+
screen: "signup" | "account" | "login" | "reset-password" | "enter-password" | "impersonate" | "try-connection-result" | "reset-password/request" | "reset-password/code" | "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";
|
|
18219
18255
|
};
|
|
18220
18256
|
} & {
|
|
18221
18257
|
query: {
|
|
@@ -18231,7 +18267,7 @@ declare function init(config: AuthHeroConfig): {
|
|
|
18231
18267
|
} | {
|
|
18232
18268
|
input: {
|
|
18233
18269
|
param: {
|
|
18234
|
-
screen: "signup" | "
|
|
18270
|
+
screen: "signup" | "account" | "login" | "reset-password" | "enter-password" | "impersonate" | "try-connection-result" | "reset-password/request" | "reset-password/code" | "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";
|
|
18235
18271
|
};
|
|
18236
18272
|
} & {
|
|
18237
18273
|
query: {
|
|
@@ -18247,7 +18283,7 @@ declare function init(config: AuthHeroConfig): {
|
|
|
18247
18283
|
} | {
|
|
18248
18284
|
input: {
|
|
18249
18285
|
param: {
|
|
18250
|
-
screen: "signup" | "
|
|
18286
|
+
screen: "signup" | "account" | "login" | "reset-password" | "enter-password" | "impersonate" | "try-connection-result" | "reset-password/request" | "reset-password/code" | "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";
|
|
18251
18287
|
};
|
|
18252
18288
|
} & {
|
|
18253
18289
|
query: {
|
|
@@ -18401,5 +18437,5 @@ declare function init(config: AuthHeroConfig): {
|
|
|
18401
18437
|
createX509Certificate: typeof createX509Certificate;
|
|
18402
18438
|
};
|
|
18403
18439
|
|
|
18404
|
-
export { AppLogo, AuthLayout, Button$1 as Button, Button as ButtonUI, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Card as CardUI, EmailValidatedPage, EnterCodePage, EnterPasswordPage, ErrorMessage, Footer, ForgotPasswordPage, ForgotPasswordSentPage, FormComponent, GoBack, Google as GoogleLogo, Icon, IdentifierForm, IdentifierPage, Input as InputUI, InvalidSessionPage as InvalidSession, Label as LabelUI, Layout, LocalCodeExecutor, LogsDestination, MANAGEMENT_API_AUDIENCE, MANAGEMENT_API_SCOPES, MailgunEmailService, MessagePage as Message, PostmarkEmailService, PreSignUpConfirmationPage, PreSignupPage as PreSignUpPage, RegistrationFinalizerDestination, ResendEmailService, ResetPasswordPage, SignupPage as SignUpPage, SocialButton, Spinner, Trans, USERNAME_PASSWORD_PROVIDER, UnverifiedEmailPage, UserNotFound as UserNotFoundPage, VippsLogo, WebhookDestination, addEntityHooks, cleanupOutbox, cleanupSessions, cleanupUserSessions, clientInfoMiddleware, createAuthMiddleware, createDefaultDestinations, createInMemoryCache, deepMergePatch, drainOutbox, fetchAll, init, injectTailwindCSS, mailgunCredentialsSchema, postmarkCredentialsSchema, index_d as preDefinedHooks, resendCredentialsSchema, runOutboxRelay, seed, tailwindCss, tenantMiddleware, waitUntil };
|
|
18440
|
+
export { AppLogo, AuthLayout, Button$1 as Button, Button as ButtonUI, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Card as CardUI, EmailValidatedPage, EnterCodePage, EnterPasswordPage, ErrorMessage, Footer, ForgotPasswordPage, ForgotPasswordSentPage, FormComponent, GoBack, Google as GoogleLogo, Icon, IdentifierForm, IdentifierPage, Input as InputUI, InvalidSessionPage as InvalidSession, Label as LabelUI, Layout, LocalCodeExecutor, LogsDestination, MANAGEMENT_API_AUDIENCE, MANAGEMENT_API_SCOPES, MailgunEmailService, MessagePage as Message, PostmarkEmailService, PreSignUpConfirmationPage, PreSignupPage as PreSignUpPage, RegistrationFinalizerDestination, ResendEmailService, ResetPasswordPage, SignupPage as SignUpPage, SocialButton, Spinner, Trans, USERNAME_PASSWORD_PROVIDER, UnverifiedEmailPage, UserNotFound as UserNotFoundPage, VippsLogo, WebhookDestination, addEntityHooks, cleanupOutbox, cleanupSessions, cleanupUserSessions, clientInfoMiddleware, createAuthMiddleware, createDefaultDestinations, createEncryptedDataAdapter, createInMemoryCache, decryptField, deepMergePatch, drainOutbox, encryptField, fetchAll, init, injectTailwindCSS, isEncrypted, loadEncryptionKey, mailgunCredentialsSchema, postmarkCredentialsSchema, index_d as preDefinedHooks, resendCredentialsSchema, runOutboxRelay, seed, tailwindCss, tenantMiddleware, waitUntil };
|
|
18405
18441
|
export type { AuthHeroConfig, CreateDefaultDestinationsConfig, EnsureUsernameOptions, EntityHookContext, EntityHooks, EntityHooksConfig, EventDestination, FetchAllOptions, GetServiceToken, HookEvent, HookRequest, Hooks, InMemoryCacheConfig, MailgunCredentials, MailgunEmailServiceOptions, ManagementApiExtension, OnExecuteCredentialsExchange, OnExecuteCredentialsExchangeAPI, OnExecutePostLogin, OnExecutePostLoginAPI, OnExecutePostUserDeletion, OnExecutePostUserDeletionAPI, OnExecutePostUserRegistration, OnExecutePostUserRegistrationAPI, OnExecutePreUserDeletion, OnExecutePreUserDeletionAPI, OnExecutePreUserRegistration, OnExecutePreUserRegistrationAPI, OnExecutePreUserUpdate, OnExecutePreUserUpdateAPI, OnExecuteValidateRegistrationUsername, OnExecuteValidateRegistrationUsernameAPI, OnFetchUserInfo, OnFetchUserInfoAPI, OutboxCleanupParams, OutboxConfig, PostmarkCredentials, PostmarkEmailServiceOptions, ResendCredentials, ResendEmailServiceOptions, RolePermissionHooks, RunOutboxRelayConfig, SeedOptions, SeedResult, SigningKeyMode, SigningKeyModeOption, SigningKeyModeResolver, TokenAPI, Transaction, UserInfoEvent, UserLinkingMode, UserLinkingModeOption, UserLinkingModeResolver, UserSessionCleanupParams, UsernamePasswordProviderResolver, WebhookDestinationOptions, WebhookInvoker, WebhookInvokerParams };
|