Class ActiveSigningKeyUseCase
java.lang.Object
com.irurueta.authserver.authorization.application.keys.ActiveSigningKeyUseCase
Use case that finds the one key that signs new tokens.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
signingKeyRepository
Port that stores the keys.
-
-
Constructor Details
-
ActiveSigningKeyUseCase
public ActiveSigningKeyUseCase()
-
-
Method Details
-
execute
Finds the active key.- Returns:
- the active key, or an empty optional before the first rotation has run.
-