Interface: SigningKeySetOptions
Defined in: auth-core/src/signingKeySet.ts:10
Options for createSigningKeySet.
Properties
keys
keys:
SigningKey[]
Defined in: auth-core/src/signingKeySet.ts:15
Every key the app holds: exactly one without retiredAt (the one that
signs), plus any retired keys still inside their grace window.
retiredKeyTtl
retiredKeyTtl:
number
Defined in: auth-core/src/signingKeySet.ts:22
How long, in seconds, a retired key stays published and accepted after
its retiredAt — set it to the longest lifetime of any token it signed
(the access-token TTL). Past that window the key is dropped from the JWKS
on its own, so a forgotten retired key does not stay trusted forever.