public static interface Azure.Configurable extends AzureConfigurable<Azure.Configurable>
Modifier and Type | Method and Description |
---|---|
Azure.Authenticated |
authenticate(AzureTokenCredentials credentials)
Authenticates API access based on the provided credentials.
|
Azure.Authenticated |
authenticate(File credentialsFile)
Authenticates API access using a properties file containing the required credentials.
|
useHttpClientThreadPool, withCallbackExecutor, withConnectionPool, withConnectionTimeout, withDispatcher, withInterceptor, withLogLevel, withMaxIdleConnections, withProxy, withProxyAuthenticator, withReadTimeout, withUserAgent
Azure.Authenticated authenticate(AzureTokenCredentials credentials)
credentials
- The credentials to authenticate API access withAzure.Authenticated authenticate(File credentialsFile) throws IOException
credentialsFile
- the file containing the credentials in the standard Java properties file format following
the same schema as Azure.authenticate(File)
.IOException
- exceptions thrown from file accessCopyright © 2019. All rights reserved.