
com.atlassian.connect.spring.internal.jwt.JwtExpiredException Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of atlassian-connect-spring-boot-jwt Show documentation
Show all versions of atlassian-connect-spring-boot-jwt Show documentation
Provides JSON Web Token handling for Atlassian Connect for Spring Boot
package com.atlassian.connect.spring.internal.jwt;
import java.util.Date;
/**
* Thrown if the JWT's timestamps show that it has expired.
*/
public class JwtExpiredException extends JwtVerificationException {
public JwtExpiredException(Date expiredAt, Date now, final int leewaySeconds) {
super(String.format("Expired at %s and time is now %s (%d seconds leeway is allowed)", expiredAt, now, leewaySeconds));
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy