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