Interface JwtSprayJsonParser<H,​C>

  • All Superinterfaces:
    pdi.jwt.JwtCore<H,​C>, pdi.jwt.JwtJsonCommon<spray.json.JsObject,​H,​C>
    All Known Implementing Classes:
    JwtSprayJson, JwtSprayJson$

    public interface JwtSprayJsonParser<H,​C>
    extends pdi.jwt.JwtJsonCommon<spray.json.JsObject,​H,​C>
    INTERNAL API

    Implementation of JwtCore using JsObject from spray-json.

    This class originally came from jwt-spray-json, but was removed in https://github.com/jwt-scala/jwt-scala/commit/bf1131ce02480103c0b953b97da001105a3ee038

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      scala.Option<pdi.jwt.JwtAlgorithm> getAlgorithm​(spray.json.JsObject header)  
      spray.json.JsObject parse​(java.lang.String value)  
      java.lang.String stringify​(spray.json.JsObject value)  
      • Methods inherited from interface pdi.jwt.JwtCore

        clock, decode, decode, decode, decode, decode, decode, decode, decode, decode, decode, decode, decode, decode, decode, decodeAll, decodeAll, decodeAll, decodeAll, decodeAll, decodeAll, decodeAll, decodeAll, decodeAll, decodeAll, decodeAll, decodeAll, decodeAll, decodeAll, decodeRaw, decodeRaw, decodeRaw, decodeRaw, decodeRaw, decodeRaw, decodeRaw, decodeRaw, decodeRaw, decodeRaw, decodeRaw, decodeRaw, decodeRaw, decodeRaw, decodeRawAll, decodeRawAll, decodeRawAll, decodeRawAll, decodeRawAll, decodeRawAll, decodeRawAll, decodeRawAll, decodeRawAll, decodeRawAll, decodeRawAll, decodeRawAll, decodeRawAll, decodeRawAll, encode, encode, encode, encode, encode, encode, encode, encode, encode, encode, encode, encode, encode, encode, encode, extractAlgorithm, extractExpiration, extractNotBefore, isValid, isValid, isValid, isValid, isValid, isValid, isValid, isValid, isValid, isValid, isValid, isValid, isValid, isValid, parseClaim, parseHeader, validate, validate, validate, validate, validate, validate, validate, validate, validate, validate, validate, validate, validate, validate, validate, validate, validate, validate, validate, validate, validateAsymmetricAlgorithm, validateHmacAlgorithm, validateTiming
      • Methods inherited from interface pdi.jwt.JwtJsonCommon

        decodeJson, decodeJson, decodeJson, decodeJson, decodeJson, decodeJson, decodeJson, decodeJson, decodeJson, decodeJson, decodeJson, decodeJson, decodeJson, decodeJson, decodeJsonAll, decodeJsonAll, decodeJsonAll, decodeJsonAll, decodeJsonAll, decodeJsonAll, decodeJsonAll, decodeJsonAll, decodeJsonAll, decodeJsonAll, decodeJsonAll, decodeJsonAll, decodeJsonAll, decodeJsonAll, encode, encode, encode, encode, encode, encode, encode, extractAlgorithm, extractExpiration, extractNotBefore
    • Method Detail

      • getAlgorithm

        scala.Option<pdi.jwt.JwtAlgorithm> getAlgorithm​(spray.json.JsObject header)
        Specified by:
        getAlgorithm in interface pdi.jwt.JwtJsonCommon<spray.json.JsObject,​H,​C>
      • parse

        spray.json.JsObject parse​(java.lang.String value)
        Specified by:
        parse in interface pdi.jwt.JwtJsonCommon<spray.json.JsObject,​H,​C>
      • stringify

        java.lang.String stringify​(spray.json.JsObject value)
        Specified by:
        stringify in interface pdi.jwt.JwtJsonCommon<spray.json.JsObject,​H,​C>