@Test(expected = IllegalArgumentException.class) public void windowShouldFailWhenArgumentIsLessThanZero() { TOTPValidator.window(-1); }
public static TOTPValidator window(int window) { return new TOTPValidator(window); }
TOTPValidator { public static TOTPValidator window(int window) { return new TOTPValidator(window); } }
TOTPValidator { public static TOTPValidator window(int window) { return new TOTPValidator(window); } private  TOTPValidator(int window); }
TOTPValidator { public static TOTPValidator window(int window) { return new TOTPValidator(window); } private  TOTPValidator(int window); static TOTPValidator defaultWindow(); static TOTPValidator window(int window); boolean isValid(byte[] key, long timeStep, int digits, HmacShaAlgorithm hmacShaAlgorithm, String value); boolean isValid(byte[] key, long timeStep, int digits, HmacShaAlgorithm hmacShaAlgorithm, String value, long validationTime); }
TOTPValidator { public static TOTPValidator window(int window) { return new TOTPValidator(window); } private  TOTPValidator(int window); static TOTPValidator defaultWindow(); static TOTPValidator window(int window); boolean isValid(byte[] key, long timeStep, int digits, HmacShaAlgorithm hmacShaAlgorithm, String value); boolean isValid(byte[] key, long timeStep, int digits, HmacShaAlgorithm hmacShaAlgorithm, String value, long validationTime); static final int DEFAULT_WINDOW; }