Class KeyLocator

  • All Implemented Interfaces:
    io.jsonwebtoken.Locator<java.security.Key>

    public class KeyLocator
    extends io.jsonwebtoken.LocatorAdapter<java.security.Key>
    Key locator which fetches keys from a JWKS endpoint
    • Constructor Summary

      Constructors 
      Constructor Description
      KeyLocator​(java.lang.String strJwksEndpointUri, fr.paris.lutece.util.httpaccess.HttpAccess httpAccess)
      Constructs a Key Locator
    • Method Summary

      • Methods inherited from class io.jsonwebtoken.LocatorAdapter

        locate
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • KeyLocator

        public KeyLocator​(java.lang.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