package com.sharefile.api;

import com.sharefile.api.authentication.SFOAuth2Token;
import com.sharefile.api.exceptions.SFInvalidStateException;
import com.sharefile.api.interfaces.ISFReAuthHandler;

public class SFTokenLessApiClient extends SFApiClient
{
    private static final String DUMMY_TOKEN_VALUE = "[TokenLessClient]";
    private static final String DUMMY_TOKEN_USER_ID = "TokenLessUserId";
    private static final String DUMMY_TOKEN_CLIENT_ID = "TokenLessClientId";
    private static final String DUMMY_TOKEN_CLIENT_SECRET = "TokenLessClientSecret";

    public SFTokenLessApiClient(String subDomain,String apiControlPlane, ISFReAuthHandler reauthHandler) throws SFInvalidStateException
    {
        super(new SFOAuth2Token(DUMMY_TOKEN_VALUE,
                DUMMY_TOKEN_VALUE,
                DUMMY_TOKEN_VALUE,
                apiControlPlane,
                apiControlPlane,
                subDomain,
                0)
                , DUMMY_TOKEN_USER_ID, DUMMY_TOKEN_CLIENT_ID, DUMMY_TOKEN_CLIENT_SECRET, null, reauthHandler);
    }

    public SFTokenLessApiClient(String subDomain,String apiControlPlane) throws SFInvalidStateException
    {
        this(subDomain,apiControlPlane,null);
    }
}
@@ -557,16 +557,145 @@
 cret%22;%0A%0A
+    /*%0A     * Note : a Token less ApiClient can be used for Standalone connectors so it may have a%0A     * ReAuthHandler!%0A     */%0A
     publ

Document the need for the extra constructor on SFTokenLessApiClient