Package com.irurueta.authserver.authorization.api.web.keys
package com.irurueta.authserver.authorization.api.web.keys
Web adapter of the signing keys: the administration endpoints, the scheduled rotation job and the startup
bootstrap.
-
ClassesClassDescriptionAdministration of the signing keys, as the contract
apis/auth-server/rest-server/auth-server-api-v1.yamldescribes it through the generatedSigningKeysApi.Creates the first active and next keys at startup, so the server can sign tokens before the first scheduled rotation.Maps the signing keys of the domain onto the DTO generated from the contract, so a domain model is never returned fromSigningKeyAdminController.Periodically applies the key lifecycle.Runs the key lifecycle and announces it, so every caller (the endpoint, the scheduled job and the startup bootstrap) gets the same cache refresh without depending on the adapter that holds the caches.