public abstract class HttpCredentialsFetcher extends Object implements CredentialsFetcher
| Constructor and Description |
|---|
HttpCredentialsFetcher() |
| Modifier and Type | Method and Description |
|---|---|
abstract String |
buildUrl()
Constructs the url of authorization server.
|
TemporaryCredentials |
fetch()
Fetches temporary credentials from the authorization server.
|
protected TemporaryCredentials |
fetchOnce(org.apache.http.impl.client.CloseableHttpClient httpClient,
org.apache.http.client.methods.HttpGet httpGet) |
abstract TemporaryCredentials |
parse(org.apache.http.HttpResponse response)
Parses the response to get credentials.
|
public abstract String buildUrl()
public abstract TemporaryCredentials parse(org.apache.http.HttpResponse response) throws Exception
response - http response.Exceptionpublic TemporaryCredentials fetch()
CredentialsFetcherfetch in interface CredentialsFetcherprotected TemporaryCredentials fetchOnce(org.apache.http.impl.client.CloseableHttpClient httpClient, org.apache.http.client.methods.HttpGet httpGet) throws Exception
ExceptionCopyright © 2025. All Rights Reserved.