public class EcsRamRoleCredentialsFetcher extends HttpCredentialsFetcher
构造器和说明 |
---|
EcsRamRoleCredentialsFetcher(String ossAuthServerHost) |
限定符和类型 | 方法和说明 |
---|---|
URL |
buildUrl()
Constructs the url of authorization server.
|
Credentials |
parse(com.aliyuncs.http.HttpResponse response)
Parses the response to get credentials.
|
fetch, fetch, send
public EcsRamRoleCredentialsFetcher(String ossAuthServerHost)
public URL buildUrl() throws com.aliyuncs.exceptions.ClientException
CredentialsFetcher
buildUrl
在接口中 CredentialsFetcher
buildUrl
在类中 HttpCredentialsFetcher
com.aliyuncs.exceptions.ClientException
public Credentials parse(com.aliyuncs.http.HttpResponse response) throws com.aliyuncs.exceptions.ClientException
CredentialsFetcher
parse
在接口中 CredentialsFetcher
parse
在类中 HttpCredentialsFetcher
response
- http response.com.aliyuncs.exceptions.ClientException
Copyright © 2022. All Rights Reserved.