public abstract class DefaultClientConfig extends java.lang.Object implements IClientConfig
| Constructor and Description |
|---|
DefaultClientConfig() |
| Modifier and Type | Method and Description |
|---|---|
static IClientConfig |
createWithAuthenticator(IAuthenticator authenticator)
Creates an instance of this OneDrive config with an authenticator.
|
static IClientConfig |
createWithAuthenticators(MSAAuthenticator msaAuthenticator,
ADALAuthenticator adalAuthenticator)
Creates an instance of this OneDrive config that can disambiguate between MSA and ADAL accounts.
|
IAuthenticator |
getAuthenticator()
Gets the authenticator.
|
IExecutors |
getExecutors()
Gets the executors.
|
IHttpProvider |
getHttpProvider()
Gets the http provider.
|
ILogger |
getLogger()
Gets the logger.
|
ISerializer |
getSerializer()
Gets the serializer.
|
public static IClientConfig createWithAuthenticator(IAuthenticator authenticator)
authenticator - The authenticator.public static IClientConfig createWithAuthenticators(MSAAuthenticator msaAuthenticator, ADALAuthenticator adalAuthenticator)
msaAuthenticator - The MSA authenticator.adalAuthenticator - The ADAL authenticator.public IAuthenticator getAuthenticator()
getAuthenticator in interface IClientConfigpublic IHttpProvider getHttpProvider()
getHttpProvider in interface IClientConfigpublic ISerializer getSerializer()
getSerializer in interface IClientConfigpublic IExecutors getExecutors()
getExecutors in interface IClientConfigpublic ILogger getLogger()
getLogger in interface IClientConfig