Package org.wildfly.security.http.oidc
Interface PublicKeyLocator
-
- All Known Implementing Classes:
HardcodedPublicKeyLocator,JWKPublicKeyLocator
public interface PublicKeyLocatorAn interface to locate the public key for an OpenID provider.- Author:
- Marek Posolda, Farah Juma
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description PublicKeygetPublicKey(String kid, OidcClientConfiguration oidcClientConfiguration)voidreset(OidcClientConfiguration oidcClientConfiguration)Reset the state of locator (eg.
-
-
-
Method Detail
-
getPublicKey
PublicKey getPublicKey(String kid, OidcClientConfiguration oidcClientConfiguration)
- Parameters:
kid- the key idoidcClientConfiguration- the OpenID Connect client configuration- Returns:
- the public key for the OpenID provider
-
reset
void reset(OidcClientConfiguration oidcClientConfiguration)
Reset the state of locator (eg. clear the cached keys)- Parameters:
oidcClientConfiguration- the OpenID Connect client configuration
-
-