com.github.vindell.jwt.token.JwtKeyResolverRepository Maven / Gradle / Ivy
package com.github.vindell.jwt.token;
import java.util.Map;
import com.github.vindell.jwt.JwtPayload;
import com.github.vindell.jwt.exception.JwtException;
public interface JwtKeyResolverRepository{
public abstract String issueJwt(S signingKey, String keyId, String jwtId, String subject, String issuer, String audience,
String roles, String permissions, String algorithm, long period) throws JwtException;
public abstract String issueJwt(S signingKey, String keyId, String jwtId, String subject, String issuer, String audience,
Map claims, String algorithm, long period) throws JwtException;
public abstract boolean verify(String token, boolean checkExpiry) throws JwtException;
public abstract JwtPayload getPlayload(String token, boolean checkExpiry) throws JwtException;
}