You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@guacamole.apache.org by GitBox <gi...@apache.org> on 2021/08/24 20:40:35 UTC

[GitHub] [guacamole-client] amelchio commented on a change in pull request #504: GUACAMOLE-1056: Add support for tracking the time drift between guacamole and TOTP-tokens

amelchio commented on a change in pull request #504:
URL: https://github.com/apache/guacamole-client/pull/504#discussion_r695186417



##########
File path: extensions/guacamole-auth-totp/src/main/java/org/apache/guacamole/auth/totp/conf/ConfigurationService.java
##########
@@ -144,6 +156,22 @@ public int getPeriod() throws GuacamoleException {
         return environment.getProperty(TOTP_PERIOD, 30);
     }
 
+    /**
+     * Returns the maximun allowed offset between gucamole  and  TOTP token, in
+     * periodes. If not specified, 0 will be used by default.

Review comment:
       A period is the time interval where a particular code is valid, usually 30 seconds.
   
   So an offset of 1 will accept the current code, the previous code and the following code.




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@guacamole.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org