Package com.auth0.jwt.interfaces
Interface JWTVerifier
-
- All Known Implementing Classes:
JWTVerifier
public interface JWTVerifier
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DecodedJWTverify(DecodedJWT jwt)Performs the verification against the given decoded JWTDecodedJWTverify(java.lang.String token)Performs the verification against the given Token
-
-
-
Method Detail
-
verify
DecodedJWT verify(java.lang.String token) throws JWTVerificationException
Performs the verification against the given Token- Parameters:
token- to verify.- Returns:
- a verified and decoded JWT.
- Throws:
JWTVerificationException- if any of the verification steps fail
-
verify
DecodedJWT verify(DecodedJWT jwt) throws JWTVerificationException
Performs the verification against the given decoded JWT- Parameters:
jwt- to verify.- Returns:
- a verified and decoded JWT.
- Throws:
JWTVerificationException- if any of the verification steps fail
-
-