public class OSSAuthCredentialsProvider extends OSSFederationCredentialProvider
限定符和类型 | 类和说明 |
---|---|
static interface |
OSSAuthCredentialsProvider.AuthDecoder |
构造器和说明 |
---|
OSSAuthCredentialsProvider(java.lang.String authServerUrl) |
限定符和类型 | 方法和说明 |
---|---|
OSSFederationToken |
getFederationToken()
Gets the valid STS token.
|
void |
setAuthServerUrl(java.lang.String authServerUrl)
set auth server url
|
void |
setDecoder(OSSAuthCredentialsProvider.AuthDecoder decoder)
set response data decoder
|
getCachedToken, getValidFederationToken
public OSSAuthCredentialsProvider(java.lang.String authServerUrl)
public void setAuthServerUrl(java.lang.String authServerUrl)
authServerUrl
- public void setDecoder(OSSAuthCredentialsProvider.AuthDecoder decoder)
decoder
- public OSSFederationToken getFederationToken() throws ClientException
OSSFederationCredentialProvider
getFederationToken
在接口中 OSSCredentialProvider
getFederationToken
在类中 OSSFederationCredentialProvider
ClientException