public int getMaxTokenValidity() throws GuacamoleException {
        return environment.getProperty(OPENID_MAX_TOKEN_VALIDITY, DEFAULT_MAX_TOKEN_VALIDITY);
    }
Returns the maximum amount of time that an OpenID token should remain
valid, in minutes. A token received from an OpenID service which is
older than this amount of time will be rejected, even if it is otherwise
valid. By default, this will be 300 (5 hours).

@return
    The maximum amount of time that an OpenID token should remain valid,
    in minutes.

@throws GuacamoleException
    If guacamole.properties cannot be parsed.
extensions/guacamole-auth-sso/modules/guacamole-auth-sso-openid/src/main/java/org/apache/guacamole/auth/openid/conf/ConfigurationService.java