Class LTI13JwtUtil


  • public class LTI13JwtUtil
    extends Object
    • Constructor Detail

      • LTI13JwtUtil

        public LTI13JwtUtil()
    • Method Detail

      • getBodyAsString

        public static String getBodyAsString​(String jws,
                                             Key key)
      • getHeaderAsString

        public static String getHeaderAsString​(String jws,
                                               Key key)
      • rawJwtHeader

        public static String rawJwtHeader​(String encoded)
      • jsonJwtHeader

        public static org.json.simple.JSONObject jsonJwtHeader​(String id_token)
      • rawJwtBody

        public static String rawJwtBody​(String encoded)
      • jsonJwtBody

        public static org.json.simple.JSONObject jsonJwtBody​(String id_token)
      • isRequest

        public static boolean isRequest​(HttpServletRequest req)
        Check if the incoming request is LTI 1.3
      • isRequest

        public static boolean isRequest​(String id_token)
        Check if the incoming id_token (may be null) is LTI 1.3