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.ClientException - If any errors occurred in OSS while processing the request.public Credentials parse(com.aliyuncs.http.HttpResponse response) throws com.aliyuncs.exceptions.ClientException
CredentialsFetcherparse in interface CredentialsFetcherparse in class HttpCredentialsFetcherresponse - http response.com.aliyuncs.exceptions.ClientException - If any errors occurred in OSS while processing the request.Copyright © 2023. All Rights Reserved.