public class ShareFileAuthentication
extends java.lang.Object
Constructor and Description |
---|
ShareFileAuthentication() |
Modifier and Type | Method and Description |
---|---|
static com.citrix.sharefile.api.authentication.SFOAuth2Token |
authenticate(ShareFileConfig config)
Wrapper for Sharefile authentication - all parameters should be Spring-injected, not hard-coded.
|
static com.citrix.sharefile.api.interfaces.ISFApiClient |
getClient(com.citrix.sharefile.api.authentication.SFOAuth2Token oAuthToken) |
public static com.citrix.sharefile.api.authentication.SFOAuth2Token authenticate(ShareFileConfig config)
public static com.citrix.sharefile.api.interfaces.ISFApiClient getClient(com.citrix.sharefile.api.authentication.SFOAuth2Token oAuthToken) throws com.citrix.sharefile.api.exceptions.SFInvalidStateException
com.citrix.sharefile.api.exceptions.SFInvalidStateException