Class KeyLocator

java.lang.Object
io.jsonwebtoken.LocatorAdapter<Key>
fr.paris.lutece.plugins.oauth2.jwt.KeyLocator
All Implemented Interfaces:
io.jsonwebtoken.Locator<Key>, Serializable

public class KeyLocator extends io.jsonwebtoken.LocatorAdapter<Key> implements Serializable
Key locator which fetches keys from a JWKS endpoint
See Also:
  • Constructor Details

    • KeyLocator

      public KeyLocator(String strJwksEndpointUri, fr.paris.lutece.util.httpaccess.HttpAccess httpAccess)
      Constructs a Key Locator
      Parameters:
      strJwksEndpointUri - the URI of the JKWS resource
      httpAccess - the httpAccess for fetching the file