Skip to content

ForgeRemoteUserToken

Defined in: packages/core/src/auth/ForgeRemoteTokenManager.ts:14

Token manager for Forge Remote backends.

Similar to OfflineTokenManager but accepts an appSystemToken from the invocation payload rather than relying on Container identity. Forge Remotes are stateless per-invocation handlers, so this manager is typically instantiated fresh per invocation with a short-lived token.

Token caching is still valuable within a single invocation that makes multiple API calls for the same user, and across warm Lambda/Cloud Run invocations where the handler module is kept alive.

accessToken: string

Defined in: packages/core/src/auth/ForgeRemoteTokenManager.ts:15


accountId: string

Defined in: packages/core/src/auth/ForgeRemoteTokenManager.ts:18


expiry: number

Defined in: packages/core/src/auth/ForgeRemoteTokenManager.ts:17

Unix timestamp (seconds) when the token expires