AuthConfig
Defined in: types.ts:3
Properties
Section titled “Properties”agentTokenStore?
Section titled “agentTokenStore?”
optionalagentTokenStore?: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).
algorithms?
Section titled “algorithms?”
optionalalgorithms?:string[]
Defined in: types.ts:5
audience?
Section titled “audience?”
optionalaudience?:string|string[]
Defined in: types.ts:8
expiresIn?
Section titled “expiresIn?”
optionalexpiresIn?:string|number
Defined in: types.ts:6
issuer?
Section titled “issuer?”
optionalissuer?:string
Defined in: types.ts:7
refreshExpiresIn?
Section titled “refreshExpiresIn?”
optionalrefreshExpiresIn?:string|number
Defined in: types.ts:10
Refresh-token TTL.
Default
Section titled “Default”"30d"refreshTokenStore?
Section titled “refreshTokenStore?”
optionalrefreshTokenStore?: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
Section titled “secret”secret:
string
Defined in: types.ts:4