Package org.wildfly.security.http.oidc
Interface PublicKeyLocator
-
- All Known Implementing Classes:
HardcodedPublicKeyLocator
,JWKPublicKeyLocator
public interface PublicKeyLocator
An 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 PublicKey
getPublicKey(String kid, OidcClientConfiguration oidcClientConfiguration)
void
reset(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
-
-