Skip to content

AuthConfig

Defined in: types.ts:3

optional agentTokenStore?: AgentTokenStore

Defined in: types.ts:21

Storage for outstanding agent-token ids, enabling revokeAgentToken() to revoke a token before its JWT expiry. Defaults to an in-memory store; multi-instance deployments must inject a shared implementation (see D-6, same rationale as refreshTokenStore).


optional algorithms?: string[]

Defined in: types.ts:5


optional audience?: string | string[]

Defined in: types.ts:8


optional expiresIn?: string | number

Defined in: types.ts:6


optional issuer?: string

Defined in: types.ts:7


optional refreshExpiresIn?: string | number

Defined in: types.ts:10

Refresh-token TTL.

"30d"

optional refreshTokenStore?: RefreshTokenStore

Defined in: types.ts:15

Storage for outstanding refresh-token ids. Defaults to an in-memory store; multi-instance deployments must inject a shared implementation (see D-6).


secret: string

Defined in: types.ts:4