public static AuthToken generateOneTimeToken(String token) {
        return new OneTimeAuthToken(token);
    }
Constructs a new OneTimeAuthToken that represents an one time recovery user.

@param token the one time token.
@return the newly generated auth token
xmppserver/src/main/java/org/jivesoftware/openfire/auth/AuthToken.java