Interface: TokenValidatorOptions
Interface: TokenValidatorOptions
Defined in: auth-server-ts/src/http-clients/token-validator.ts:26
Legacy back-compat shim exposing the same surface the original
TokenValidator class had: a validate(token) that throws
TokenValidationError with a stable code string. Internally delegates
to the new JwtValidator (with secret rotation + token-version gate).
Framework adapters that still throw TokenValidationError (e.g. the
NestJS adapter in auth-server-nest) continue to compile unchanged.
New code: use AuthClient (top-level façade) or JwtValidator directly.
Properties
accessSecret
accessSecret:
string
Defined in: auth-server-ts/src/http-clients/token-validator.ts:27
accessSecretPrevious?
optionalaccessSecretPrevious?:string
Defined in: auth-server-ts/src/http-clients/token-validator.ts:28
audience?
optionalaudience?:string
Defined in: auth-server-ts/src/http-clients/token-validator.ts:30
cache?
optionalcache?:TokenCachePort|null
Defined in: auth-server-ts/src/http-clients/token-validator.ts:32
checkRevocation?
optionalcheckRevocation?:boolean
Defined in: auth-server-ts/src/http-clients/token-validator.ts:31
issuer?
optionalissuer?:string
Defined in: auth-server-ts/src/http-clients/token-validator.ts:29
logger?
optionallogger?:LoggerPort
Defined in: auth-server-ts/src/http-clients/token-validator.ts:33