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.
Properties
Section titled “Properties”accessToken
Section titled “accessToken”accessToken:
string
Defined in: packages/core/src/auth/ForgeRemoteTokenManager.ts:15
accountId
Section titled “accountId”accountId:
string
Defined in: packages/core/src/auth/ForgeRemoteTokenManager.ts:18
expiry
Section titled “expiry”expiry:
number
Defined in: packages/core/src/auth/ForgeRemoteTokenManager.ts:17
Unix timestamp (seconds) when the token expires