authhero 9.28.1 → 9.28.3
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 +159 -191
- package/dist/authhero.d.ts +257 -257
- package/dist/authhero.mjs +19138 -20691
- package/dist/tsconfig.types.tsbuildinfo +1 -1
- package/dist/types/authentication-flows/passwordless.d.ts +4 -4
- package/dist/types/helpers/dcr/metadata-mapping.d.ts +1 -1
- package/dist/types/helpers/reserved-claims.d.ts +2 -2
- package/dist/types/index.d.ts +257 -257
- package/dist/types/routes/auth-api/account.d.ts +2 -2
- package/dist/types/routes/auth-api/device.d.ts +8 -8
- package/dist/types/routes/auth-api/index.d.ts +33 -33
- package/dist/types/routes/auth-api/oidc-logout.d.ts +3 -3
- package/dist/types/routes/auth-api/passwordless.d.ts +4 -4
- package/dist/types/routes/auth-api/token.d.ts +10 -10
- package/dist/types/routes/management-api/action-triggers.d.ts +4 -4
- package/dist/types/routes/management-api/actions.d.ts +14 -14
- package/dist/types/routes/management-api/branding.d.ts +18 -18
- package/dist/types/routes/management-api/clients.d.ts +2 -2
- package/dist/types/routes/management-api/connections.d.ts +8 -8
- package/dist/types/routes/management-api/email-templates.d.ts +18 -18
- package/dist/types/routes/management-api/emails.d.ts +6 -6
- package/dist/types/routes/management-api/failed-events.d.ts +2 -2
- package/dist/types/routes/management-api/flows.d.ts +8 -8
- package/dist/types/routes/management-api/guardian.d.ts +5 -5
- package/dist/types/routes/management-api/helpers.d.ts +1 -1
- package/dist/types/routes/management-api/hooks.d.ts +35 -35
- package/dist/types/routes/management-api/index.d.ts +209 -209
- package/dist/types/routes/management-api/keys.d.ts +12 -12
- package/dist/types/routes/management-api/log-streams.d.ts +6 -6
- package/dist/types/routes/management-api/logs.d.ts +4 -4
- package/dist/types/routes/management-api/organizations.d.ts +7 -7
- package/dist/types/routes/management-api/prompts.d.ts +8 -8
- package/dist/types/routes/management-api/resource-servers.d.ts +8 -8
- package/dist/types/routes/management-api/roles.d.ts +7 -7
- package/dist/types/routes/management-api/rollouts.d.ts +6 -6
- package/dist/types/routes/management-api/tenant-export-import.d.ts +5 -5
- package/dist/types/routes/management-api/tenant-operations.d.ts +9 -9
- package/dist/types/routes/management-api/tenants.d.ts +14 -14
- package/dist/types/routes/management-api/themes.d.ts +9 -9
- package/dist/types/routes/management-api/users.d.ts +24 -24
- package/dist/types/routes/saml/index.d.ts +6 -6
- package/dist/types/routes/saml/samlp.d.ts +6 -6
- package/dist/types/routes/universal-login/common.d.ts +14 -14
- package/dist/types/routes/universal-login/identifier.d.ts +2 -2
- package/dist/types/routes/universal-login/impersonate.d.ts +2 -2
- package/dist/types/routes/universal-login/index.d.ts +4 -4
- package/dist/types/routes/universal-login/u2-index.d.ts +5 -5
- package/dist/types/routes/universal-login/u2-routes.d.ts +5 -5
- package/dist/types/state-machines/login-session.d.ts +1 -1
- package/package.json +7 -7
|
@@ -243,7 +243,7 @@ export declare function passwordlessGrantUser(ctx: Context<{
|
|
|
243
243
|
pushed_authorization_requests_supported?: boolean | undefined;
|
|
244
244
|
authorization_response_iss_parameter_supported?: boolean | undefined;
|
|
245
245
|
deployment_type?: "shared" | "wfp" | undefined;
|
|
246
|
-
provisioning_state?: "pending" | "
|
|
246
|
+
provisioning_state?: "pending" | "ready" | "failed" | undefined;
|
|
247
247
|
provisioning_error?: string | undefined;
|
|
248
248
|
provisioning_state_changed_at?: string | undefined;
|
|
249
249
|
bundle_configuration?: string | undefined;
|
|
@@ -441,7 +441,7 @@ export declare function passwordlessGrantUser(ctx: Context<{
|
|
|
441
441
|
} | undefined;
|
|
442
442
|
set_user_root_attributes?: "on_each_login" | "on_first_login" | "never_on_login" | undefined;
|
|
443
443
|
};
|
|
444
|
-
scope?: "
|
|
444
|
+
scope?: "shared" | "local" | "platform" | undefined;
|
|
445
445
|
override?: "none" | "secrets" | "fields" | undefined;
|
|
446
446
|
enforce?: boolean | undefined;
|
|
447
447
|
id?: string | undefined;
|
|
@@ -569,8 +569,8 @@ export declare function passwordlessGrantUser(ctx: Context<{
|
|
|
569
569
|
} | undefined;
|
|
570
570
|
authenticated_at?: string | undefined;
|
|
571
571
|
};
|
|
572
|
-
connectionType: "
|
|
573
|
-
authConnection: "
|
|
572
|
+
connectionType: "sms" | "email" | "username";
|
|
573
|
+
authConnection: "sms" | "email" | "username";
|
|
574
574
|
session_id: string | undefined;
|
|
575
575
|
authParams: {
|
|
576
576
|
audience?: string | undefined;
|
|
@@ -26,8 +26,8 @@ export declare const dcrRequestSchema: z.ZodObject<{
|
|
|
26
26
|
none: "none";
|
|
27
27
|
client_secret_post: "client_secret_post";
|
|
28
28
|
client_secret_basic: "client_secret_basic";
|
|
29
|
-
private_key_jwt: "private_key_jwt";
|
|
30
29
|
client_secret_jwt: "client_secret_jwt";
|
|
30
|
+
private_key_jwt: "private_key_jwt";
|
|
31
31
|
}>>;
|
|
32
32
|
jwks_uri: z.ZodOptional<z.ZodString>;
|
|
33
33
|
jwks: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
@@ -14,9 +14,9 @@ export declare const USERINFO_RESERVED_CLAIMS: readonly ["iss", "sub", "aud", "e
|
|
|
14
14
|
* vendor/tenant for downstream APIs while `sub` stays `auth-service`.
|
|
15
15
|
* Client-bound mints keep `azp` locked (see below).
|
|
16
16
|
*/
|
|
17
|
-
export declare const SERVICE_TOKEN_RESERVED_CLAIMS: ("
|
|
17
|
+
export declare const SERVICE_TOKEN_RESERVED_CLAIMS: ("sid" | "sub" | "tenant_id" | "client_id" | "org_name" | "scope" | "jti" | "exp" | "iat" | "org_id" | "iss" | "aud" | "auth_time" | "acr" | "amr" | "gty" | "permissions" | "nbf" | "act" | "requested_userinfo_claims")[];
|
|
18
18
|
/** Client-bound mints: `azp` must stay the registered client id. */
|
|
19
|
-
export declare const CLIENT_SERVICE_TOKEN_RESERVED_CLAIMS: ("
|
|
19
|
+
export declare const CLIENT_SERVICE_TOKEN_RESERVED_CLAIMS: ("sid" | "sub" | "tenant_id" | "client_id" | "org_name" | "scope" | "jti" | "exp" | "iat" | "org_id" | "iss" | "aud" | "auth_time" | "acr" | "amr" | "azp" | "gty" | "permissions" | "nbf" | "act" | "requested_userinfo_claims")[];
|
|
20
20
|
export type AccessTokenReservedClaim = (typeof ACCESS_TOKEN_RESERVED_CLAIMS)[number];
|
|
21
21
|
export type IdTokenReservedClaim = (typeof ID_TOKEN_RESERVED_CLAIMS)[number];
|
|
22
22
|
/**
|