public class InstanceProfileCredentialsFetcher extends HttpCredentialsFetcher
| Constructor and Description |
|---|
InstanceProfileCredentialsFetcher() |
| Modifier and Type | Method and Description |
|---|---|
URL |
buildUrl()
构造授权服务器的URL
|
ServiceCredentials |
parse(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 ClientException
CredentialsFetcherbuildUrl in interface CredentialsFetcherbuildUrl in class HttpCredentialsFetcherClientExceptionpublic ServiceCredentials parse(HttpResponse response) throws ClientException
CredentialsFetcherparse in interface CredentialsFetcherparse in class HttpCredentialsFetcherresponse - 授权服务器返回的授权信息ClientExceptionCopyright © 2024. All Rights Reserved.