Interface JwksSource
- All Known Implementing Classes:
RemoteJwksSource, StaticJwksSource
Where a validator gets the public keys that verify token signatures: a fixed key set
(
StaticJwksSource) or one fetched from a URI and kept up to date (RemoteJwksSource).
A source holds no issuer. Share one only among validators that expect the same issuer, because every key in it is trusted for any token those validators check.
The list of permitted implementations is not switch-stable: a later release may add one, so a switch over
a source needs a default branch.
- Since:
- 1.0.0
- Author:
- Mark Allen