com.citrix.sharefile.api.interfaces.IOAuthTokenCallback Maven / Gradle / Ivy
package com.citrix.sharefile.api.interfaces;
import com.citrix.sharefile.api.authentication.SFOAuth2Token;
import com.citrix.sharefile.api.exceptions.SFSDKException;
/*
* These callbacks are used only with the OAuthService if your app chooses to manage the tokens
* by itself. In such case there is no need for ISFApiClient.
*/
public interface IOAuthTokenCallback
{
public void onSuccess(SFOAuth2Token token);
public void onError(SFSDKException exception);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy