public class InstanceProfileCredentialsFetcher extends HttpCredentialsFetcher
| 构造器和说明 |
|---|
InstanceProfileCredentialsFetcher() |
| 限定符和类型 | 方法和说明 |
|---|---|
URL |
buildUrl()
构造授权服务器的URL
|
Credentials |
parse(com.aliyuncs.http.HttpResponse response)
解析授权服务器返回的授权信息,解析为Credentials
|
void |
setRoleName(String roleName) |
InstanceProfileCredentialsFetcher |
withRoleName(String roleName) |
fetch, fetch, sendpublic void setRoleName(String roleName)
public InstanceProfileCredentialsFetcher withRoleName(String roleName)
public URL buildUrl() throws com.aliyuncs.exceptions.ClientException
CredentialsFetcherbuildUrl 在接口中 CredentialsFetcherbuildUrl 在类中 HttpCredentialsFetchercom.aliyuncs.exceptions.ClientExceptionpublic Credentials parse(com.aliyuncs.http.HttpResponse response) throws com.aliyuncs.exceptions.ClientException
CredentialsFetcherparse 在接口中 CredentialsFetcherparse 在类中 HttpCredentialsFetcherresponse - 授权服务器返回的授权信息com.aliyuncs.exceptions.ClientExceptionCopyright © 2020. All Rights Reserved.