Class RemoteJwkSigningKeyResolver

java.lang.Object
io.meeds.oauth.openid.RemoteJwkSigningKeyResolver
All Implemented Interfaces:
io.jsonwebtoken.SigningKeyResolver

public class RemoteJwkSigningKeyResolver extends Object implements io.jsonwebtoken.SigningKeyResolver
  • Method Details

    • resolveSigningKey

      public Key resolveSigningKey(io.jsonwebtoken.JwsHeader header, io.jsonwebtoken.Claims claims)
      Specified by:
      resolveSigningKey in interface io.jsonwebtoken.SigningKeyResolver
    • resolveSigningKey

      public Key resolveSigningKey(io.jsonwebtoken.JwsHeader header, String plaintext)
      Specified by:
      resolveSigningKey in interface io.jsonwebtoken.SigningKeyResolver
    • toMap

      public static Map<String,Object> toMap(org.json.JSONObject jsonobj) throws org.json.JSONException
      Throws:
      org.json.JSONException
    • toList

      public static List<Object> toList(org.json.JSONArray array) throws org.json.JSONException
      Throws:
      org.json.JSONException
    • read

      public String read(Reader re) throws IOException
      Throws:
      IOException