public int getPeriod() throws GuacamoleException {
        return environment.getProperty(TOTP_PERIOD, 30);
    }
Returns the duration that each generated code should remain valid, in
seconds. If not specified, 30 will be used by default.

@return
    The duration that each generated code should remain valid, in
    seconds.

@throws GuacamoleException
    If the "totp-period" property cannot be read from
    guacamole.properties.
extensions/guacamole-auth-totp/src/main/java/org/apache/guacamole/auth/totp/conf/ConfigurationService.java