public class DefaultCredentialsProvider extends Object implements AlibabaCloudCredentialsProvider
| Constructor and Description |
|---|
DefaultCredentialsProvider() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
addCredentialsProvider(AlibabaCloudCredentialsProvider provider) |
static void |
clearCredentialsProvider() |
static boolean |
containsCredentialsProvider(AlibabaCloudCredentialsProvider provider) |
AlibabaCloudCredentials |
getCredentials() |
static boolean |
removeCredentialsProvider(AlibabaCloudCredentialsProvider provider) |
public DefaultCredentialsProvider()
throws CredentialException,
MalformedURLException
public AlibabaCloudCredentials getCredentials() throws CredentialException, IOException, ParseException
getCredentials in interface AlibabaCloudCredentialsProviderCredentialExceptionIOExceptionParseExceptionpublic static boolean addCredentialsProvider(AlibabaCloudCredentialsProvider provider)
public static boolean removeCredentialsProvider(AlibabaCloudCredentialsProvider provider)
public static boolean containsCredentialsProvider(AlibabaCloudCredentialsProvider provider)
public static void clearCredentialsProvider()
Copyright © 2020. All rights reserved.