Эх сурвалжийг харах

更改签名前后验证时长

wangliang 2 жил өмнө
parent
commit
67e7586707

+ 2 - 2
themis-common/src/main/java/com/qmth/themis/common/contanst/Constants.java

@@ -4,9 +4,9 @@ import java.nio.charset.Charset;
 
 public interface Constants {
 
-    public static final int SIGNATURE_EXPIRE_SECONDS = 20;
+    public static final int SIGNATURE_EXPIRE_SECONDS = 60;
 
-    public static final int SIGNATURE_AHEAD_SECONDS = 20;
+    public static final int SIGNATURE_AHEAD_SECONDS = 30;
 
     public static final int VERIFY_TOKEN_EXPIRE_SECONDS = 30;