All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.github.vindell.jwt.token.JwtKeyResolverRepository Maven / Gradle / Ivy

There is a newer version: 1.0.3.RELEASE
Show newest version
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;
	
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy