Class JOSEParser

java.lang.Object
org.keycloak.jose.JOSEParser

public class JOSEParser extends Object
Author:
Pedro Igor
  • Constructor Details

    • JOSEParser

      public JOSEParser()
  • Method Details

    • parse

      public static JOSE parse(String jwt)
      Parses the given encoded jwt and returns either a JWSInput or JWE depending on the JOSE header configuration.
      Parameters:
      jwt - the encoded JWT
      Returns:
      a JOSE