authhero 9.12.1 → 9.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/assets/u/widget/authhero-widget.esm.js +1 -1
- package/dist/assets/u/widget/p-1471c0f2.entry.js +1 -0
- package/dist/authhero.cjs +195 -144
- package/dist/authhero.d.ts +332 -84
- package/dist/authhero.mjs +22937 -22337
- package/dist/tsconfig.types.tsbuildinfo +1 -1
- package/dist/types/authentication-flows/common.d.ts +1 -0
- package/dist/types/authentication-flows/passwordless.d.ts +4 -4
- package/dist/types/helpers/reserved-claims.d.ts +2 -2
- package/dist/types/index.d.ts +260 -83
- package/dist/types/middlewares/apply-config.d.ts +8 -0
- package/dist/types/middlewares/client-info.d.ts +27 -1
- package/dist/types/routes/auth-api/authorize.d.ts +5 -0
- package/dist/types/routes/auth-api/index.d.ts +35 -30
- package/dist/types/routes/auth-api/passwordless.d.ts +12 -12
- 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/token.d.ts +10 -10
- 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/authentication-methods.d.ts +1 -1
- package/dist/types/routes/management-api/branding.d.ts +5 -5
- package/dist/types/routes/management-api/clients.d.ts +8 -8
- package/dist/types/routes/management-api/connections.d.ts +137 -0
- package/dist/types/routes/management-api/email-templates.d.ts +18 -18
- package/dist/types/routes/management-api/guardian.d.ts +5 -5
- package/dist/types/routes/management-api/index.d.ts +228 -56
- package/dist/types/routes/management-api/keys.d.ts +8 -8
- package/dist/types/routes/management-api/logs.d.ts +4 -4
- package/dist/types/routes/management-api/organizations.d.ts +4 -4
- package/dist/types/routes/management-api/prompts.d.ts +4 -4
- package/dist/types/routes/management-api/resource-servers.d.ts +35 -0
- package/dist/types/routes/management-api/roles.d.ts +1 -1
- package/dist/types/routes/management-api/tenant-operations.d.ts +1 -1
- package/dist/types/routes/management-api/tenants.d.ts +5 -5
- package/dist/types/routes/management-api/users.d.ts +8 -8
- package/dist/types/routes/mcp/dispatch.d.ts +60 -0
- package/dist/types/routes/mcp/index.d.ts +21 -0
- package/dist/types/routes/mcp/protocol.d.ts +35 -0
- package/dist/types/routes/mcp/resource.d.ts +14 -0
- package/dist/types/routes/mcp/tools.d.ts +21 -0
- package/dist/types/routes/universal-login/common.d.ts +6 -6
- package/dist/types/routes/universal-login/embed.d.ts +102 -0
- package/dist/types/routes/universal-login/error-page.d.ts +8 -1
- 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/routes/universal-login/u2-widget-page.d.ts +9 -1
- package/dist/types/types/AuthHeroConfig.d.ts +35 -0
- package/dist/types/types/Bindings.d.ts +2 -1
- package/dist/types/types/Variables.d.ts +2 -0
- package/dist/types/utils/jwt.d.ts +8 -0
- package/package.json +4 -4
- package/dist/assets/u/widget/p-74f95441.entry.js +0 -1
|
@@ -239,7 +239,7 @@ export declare function passwordlessGrantUser(ctx: Context<{
|
|
|
239
239
|
pushed_authorization_requests_supported?: boolean | undefined;
|
|
240
240
|
authorization_response_iss_parameter_supported?: boolean | undefined;
|
|
241
241
|
deployment_type?: "shared" | "wfp" | undefined;
|
|
242
|
-
provisioning_state?: "pending" | "
|
|
242
|
+
provisioning_state?: "pending" | "ready" | "failed" | undefined;
|
|
243
243
|
provisioning_error?: string | undefined;
|
|
244
244
|
provisioning_state_changed_at?: string | undefined;
|
|
245
245
|
bundle_configuration?: string | undefined;
|
|
@@ -475,7 +475,7 @@ export declare function passwordlessGrantUser(ctx: Context<{
|
|
|
475
475
|
custom_login_page_preview?: string | undefined;
|
|
476
476
|
form_template?: string | undefined;
|
|
477
477
|
addons?: Record<string, any> | undefined;
|
|
478
|
-
token_endpoint_auth_method?: "none" | "
|
|
478
|
+
token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | "private_key_jwt" | undefined;
|
|
479
479
|
client_metadata?: Record<string, string> | undefined;
|
|
480
480
|
hide_sign_up_disabled_error?: boolean | undefined;
|
|
481
481
|
mobile?: Record<string, any> | undefined;
|
|
@@ -558,8 +558,8 @@ export declare function passwordlessGrantUser(ctx: Context<{
|
|
|
558
558
|
} | undefined;
|
|
559
559
|
authenticated_at?: string | undefined;
|
|
560
560
|
};
|
|
561
|
-
connectionType: "
|
|
562
|
-
authConnection: "
|
|
561
|
+
connectionType: "username" | "sms" | "email";
|
|
562
|
+
authConnection: "username" | "sms" | "email";
|
|
563
563
|
session_id: string | undefined;
|
|
564
564
|
authParams: {
|
|
565
565
|
audience?: string | undefined;
|
|
@@ -15,9 +15,9 @@ export declare const USERINFO_RESERVED_CLAIMS: readonly ["iss", "sub", "aud", "e
|
|
|
15
15
|
* vendor/tenant for downstream APIs while `sub` stays `auth-service`.
|
|
16
16
|
* Client-bound mints keep `azp` locked (see below).
|
|
17
17
|
*/
|
|
18
|
-
export declare const SERVICE_TOKEN_RESERVED_CLAIMS: ("tenant_id" | "client_id" | "org_name" | "
|
|
18
|
+
export declare const SERVICE_TOKEN_RESERVED_CLAIMS: ("tenant_id" | "client_id" | "org_name" | "scope" | "sid" | "sub" | "exp" | "iat" | "org_id" | "iss" | "aud" | "auth_time" | "acr" | "amr" | "permissions" | "nbf" | "jti" | "act" | "requested_userinfo_claims" | "gty")[];
|
|
19
19
|
/** Client-bound mints: `azp` must stay the registered client id. */
|
|
20
|
-
export declare const CLIENT_SERVICE_TOKEN_RESERVED_CLAIMS: ("tenant_id" | "client_id" | "org_name" | "
|
|
20
|
+
export declare const CLIENT_SERVICE_TOKEN_RESERVED_CLAIMS: ("tenant_id" | "client_id" | "org_name" | "scope" | "sid" | "sub" | "exp" | "iat" | "org_id" | "iss" | "aud" | "auth_time" | "acr" | "amr" | "azp" | "permissions" | "nbf" | "jti" | "act" | "requested_userinfo_claims" | "gty")[];
|
|
21
21
|
export type AccessTokenReservedClaim = (typeof ACCESS_TOKEN_RESERVED_CLAIMS)[number];
|
|
22
22
|
export type IdTokenReservedClaim = (typeof ID_TOKEN_RESERVED_CLAIMS)[number];
|
|
23
23
|
/**
|