public class AliyunCredentialsProvider extends Object implements com.aliyun.oss.common.auth.CredentialsProvider
| Constructor and Description |
|---|
AliyunCredentialsProvider(org.apache.hadoop.conf.Configuration conf) |
| Modifier and Type | Method and Description |
|---|---|
com.aliyun.oss.common.auth.Credentials |
getCredentials() |
void |
setCredentials(com.aliyun.oss.common.auth.Credentials creds) |
public AliyunCredentialsProvider(org.apache.hadoop.conf.Configuration conf)
throws IOException
IOExceptionpublic void setCredentials(com.aliyun.oss.common.auth.Credentials creds)
setCredentials in interface com.aliyun.oss.common.auth.CredentialsProviderpublic com.aliyun.oss.common.auth.Credentials getCredentials()
getCredentials in interface com.aliyun.oss.common.auth.CredentialsProviderCopyright © 2008–2020 Apache Software Foundation. All rights reserved.