de.cidaas.interceptor.authentication.JwtAuthentication Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of cidaas-interceptor-spring-security Show documentation
Show all versions of cidaas-interceptor-spring-security Show documentation
Interceptor for Cidaas Java Spring Clients
package de.cidaas.interceptor.authentication;
import de.cidaas.jwt.JWTVerifier;
import de.cidaas.jwt.exceptions.JWTVerificationException;
import org.springframework.security.core.Authentication;
public interface JwtAuthentication {
String getToken();
String getKeyId();
Authentication verify(JWTVerifier verifier) throws JWTVerificationException;
}