public class EcsRamRoleCredentialsFetcher extends HttpCredentialsFetcher
| Constructor and Description |
|---|
EcsRamRoleCredentialsFetcher(String ossAuthServerHost) |
| Modifier and Type | Method and Description |
|---|---|
URL |
buildUrl()
Constructs the url of authorization server.
|
Credentials |
parse(com.aliyuncs.http.HttpResponse response)
Parses the response to get credentials.
|
fetch, fetch, sendpublic EcsRamRoleCredentialsFetcher(String ossAuthServerHost)
public URL buildUrl() throws com.aliyuncs.exceptions.ClientException
CredentialsFetcherbuildUrl in interface CredentialsFetcherbuildUrl in class HttpCredentialsFetchercom.aliyuncs.exceptions.ClientExceptionpublic Credentials parse(com.aliyuncs.http.HttpResponse response) throws com.aliyuncs.exceptions.ClientException
CredentialsFetcherparse in interface CredentialsFetcherparse in class HttpCredentialsFetcherresponse - http response.com.aliyuncs.exceptions.ClientExceptionCopyright © 2021. All Rights Reserved.