authhero 9.21.0 → 9.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.
Files changed (38) hide show
  1. package/dist/authhero.cjs +190 -190
  2. package/dist/authhero.d.ts +162 -140
  3. package/dist/authhero.mjs +10725 -10615
  4. package/dist/tsconfig.types.tsbuildinfo +1 -1
  5. package/dist/types/helpers/reserved-claims.d.ts +2 -2
  6. package/dist/types/index.d.ts +150 -140
  7. package/dist/types/routes/auth-api/account.d.ts +2 -2
  8. package/dist/types/routes/auth-api/index.d.ts +18 -8
  9. package/dist/types/routes/auth-api/logout.d.ts +10 -0
  10. package/dist/types/routes/auth-api/passwordless.d.ts +2 -2
  11. package/dist/types/routes/auth-api/register/index.d.ts +2 -2
  12. package/dist/types/routes/management-api/action-executions.d.ts +1 -1
  13. package/dist/types/routes/management-api/actions.d.ts +1 -1
  14. package/dist/types/routes/management-api/authentication-methods.d.ts +1 -1
  15. package/dist/types/routes/management-api/client-grants.d.ts +9 -9
  16. package/dist/types/routes/management-api/clients.d.ts +14 -14
  17. package/dist/types/routes/management-api/custom-domains.d.ts +6 -6
  18. package/dist/types/routes/management-api/failed-events.d.ts +1 -1
  19. package/dist/types/routes/management-api/flows.d.ts +7 -7
  20. package/dist/types/routes/management-api/forms.d.ts +126 -126
  21. package/dist/types/routes/management-api/index.d.ts +105 -105
  22. package/dist/types/routes/management-api/keys.d.ts +8 -8
  23. package/dist/types/routes/management-api/logs.d.ts +4 -4
  24. package/dist/types/routes/management-api/organizations.d.ts +5 -5
  25. package/dist/types/routes/management-api/prompts.d.ts +4 -4
  26. package/dist/types/routes/management-api/roles.d.ts +1 -1
  27. package/dist/types/routes/management-api/tenant-export-import.d.ts +5 -5
  28. package/dist/types/routes/management-api/tenants.d.ts +1 -1
  29. package/dist/types/routes/management-api/users.d.ts +8 -8
  30. package/dist/types/routes/universal-login/branded-error-response.d.ts +23 -0
  31. package/dist/types/routes/universal-login/common.d.ts +8 -8
  32. package/dist/types/routes/universal-login/flow-api.d.ts +8 -8
  33. package/dist/types/routes/universal-login/identifier.d.ts +2 -2
  34. package/dist/types/routes/universal-login/u2-index.d.ts +5 -5
  35. package/dist/types/routes/universal-login/u2-routes.d.ts +5 -5
  36. package/dist/types/strategies/vipps.d.ts +1 -0
  37. package/dist/types/types/AuthHeroConfig.d.ts +12 -0
  38. package/package.json +3 -3
@@ -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: ("sub" | "permissions" | "tenant_id" | "client_id" | "org_name" | "scope" | "sid" | "exp" | "iat" | "org_id" | "iss" | "aud" | "auth_time" | "acr" | "amr" | "nbf" | "jti" | "act" | "requested_userinfo_claims" | "gty")[];
17
+ export declare const SERVICE_TOKEN_RESERVED_CLAIMS: ("client_id" | "scope" | "iss" | "sub" | "aud" | "exp" | "iat" | "auth_time" | "acr" | "amr" | "tenant_id" | "sid" | "org_name" | "org_id" | "permissions" | "nbf" | "jti" | "act" | "requested_userinfo_claims" | "gty")[];
18
18
  /** Client-bound mints: `azp` must stay the registered client id. */
19
- export declare const CLIENT_SERVICE_TOKEN_RESERVED_CLAIMS: ("sub" | "permissions" | "tenant_id" | "client_id" | "org_name" | "scope" | "sid" | "exp" | "iat" | "org_id" | "iss" | "aud" | "auth_time" | "acr" | "amr" | "azp" | "nbf" | "jti" | "act" | "requested_userinfo_claims" | "gty")[];
19
+ export declare const CLIENT_SERVICE_TOKEN_RESERVED_CLAIMS: ("client_id" | "scope" | "iss" | "sub" | "aud" | "exp" | "iat" | "auth_time" | "acr" | "amr" | "azp" | "tenant_id" | "sid" | "org_name" | "org_id" | "permissions" | "nbf" | "jti" | "act" | "requested_userinfo_claims" | "gty")[];
20
20
  export type AccessTokenReservedClaim = (typeof ACCESS_TOKEN_RESERVED_CLAIMS)[number];
21
21
  export type IdTokenReservedClaim = (typeof ID_TOKEN_RESERVED_CLAIMS)[number];
22
22
  /**