protected Map<String, String> getTokens() throws GuacamoleException {
        return tokens;
    }
Returns the tokens which should be added to an in-progress call to
connect(). If not overridden, this function will return the tokens
provided when this instance of TokenInjectingConnection was created. If
the values of existing tokens need to be considered, implementations
should override {@link #addTokens(java.util.Map)} instead.

@return
    The tokens which should be added to the in-progress call to
    connect().

@throws GuacamoleException
    If the applicable tokens cannot be generated.
guacamole-ext/src/main/java/org/apache/guacamole/net/auth/TokenInjectingConnection.java