
com.nimbusds.jwt.proc.ClockSkewAware Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of nimbus-jose-jwt Show documentation
Show all versions of nimbus-jose-jwt Show documentation
Java library for Javascript Object Signing and Encryption (JOSE) and
JSON Web Tokens (JWT)
package com.nimbusds.jwt.proc;
/**
* Clock skew aware interface.
*
* @see com.nimbusds.jwt.util.DateUtils
*/
public interface ClockSkewAware {
/**
* Gets the maximum acceptable clock skew.
*
* @return The maximum acceptable clock skew, in seconds. Zero if none.
*/
int getMaxClockSkew();
/**
* Sets the maximum acceptable clock skew.
*
* @param maxClockSkewSeconds The maximum acceptable clock skew, in
* seconds. Zero if none.
*/
void setMaxClockSkew(final int maxClockSkewSeconds);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy