@Singleton @Context public class KeycloakPublicKeyService extends java.lang.Object implements PublicKeyService
| Modifier and Type | Method and Description |
|---|---|
java.util.Optional<java.security.PublicKey> |
findPublicKey(java.lang.String kid)
This method finds a public key identified by an identifier, generally stored in a JWT header.
|
void |
initialize() |
public java.util.Optional<java.security.PublicKey> findPublicKey(java.lang.String kid)
PublicKeyServicefindPublicKey in interface PublicKeyServicekid - a key id@PostConstruct public void initialize()