Class JwtSupport.DefaultJwtSupport

  • All Implemented Interfaces:
    JwtSupport
    Enclosing interface:
    JwtSupport

    public static final class JwtSupport.DefaultJwtSupport
    extends java.lang.Object
    implements JwtSupport
    param: secrets Order of this list represents priority when selecting secrets for signing and validation.
    • Constructor Detail

      • DefaultJwtSupport

        public DefaultJwtSupport​(scala.collection.immutable.List<JwtSupport.JwtSecret> secrets)
    • Method Detail

      • validate

        public scala.util.Either<java.lang.Exception,​spray.json.JsObject> validate​(java.lang.String token)
        Specified by:
        validate in interface JwtSupport