Package org.keycloak.adapters.rotation
Interface PublicKeyLocator
-
- All Known Implementing Classes:
HardcodedPublicKeyLocator
,JWKPublicKeyLocator
public interface PublicKeyLocator
- Author:
- Marek Posolda
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description PublicKey
getPublicKey(String kid, KeycloakDeployment deployment)
void
reset(KeycloakDeployment deployment)
Reset the state of locator (eg.
-
-
-
Method Detail
-
getPublicKey
PublicKey getPublicKey(String kid, KeycloakDeployment deployment)
- Parameters:
kid
-deployment
-- Returns:
- publicKey, which should be used for verify signature on given "input"
-
reset
void reset(KeycloakDeployment deployment)
Reset the state of locator (eg. clear the cached keys)- Parameters:
deployment
-
-
-