com.auth0.jwt.PayloadHandler Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of java-jwt Show documentation
Show all versions of java-jwt Show documentation
Java implementation of JSON Web Token (JWT)
package com.auth0.jwt;
/**
* Abstraction to allow custom payload handling e.g. in the event the payload needs to be encrypted
*/
public interface PayloadHandler {
String encoding(Object payload) throws Exception;
Object decoding(String payload) throws Exception;
}