Interface PublicKeyLocator


public interface PublicKeyLocator
An interface to locate the public key for an OpenID provider.
Author:
Marek Posolda, Farah Juma
  • Method Details

    • getPublicKey

      PublicKey getPublicKey(String kid, OidcClientConfiguration oidcClientConfiguration)
      Parameters:
      kid - the key id
      oidcClientConfiguration - 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