| Package | Description |
|---|---|
| com.sap.cloud.security.xsuaa.client | |
| com.sap.cloud.security.xsuaa.http |
| Modifier and Type | Method and Description |
|---|---|
protected OAuth2TokenResponse |
XsuaaOAuth2TokenService.requestAccessToken(URI tokenEndpointUri,
HttpHeaders headers,
Map<String,String> parameters) |
protected OAuth2TokenResponse |
DefaultOAuth2TokenService.requestAccessToken(URI tokenEndpointUri,
HttpHeaders headers,
Map<String,String> parameters) |
protected abstract OAuth2TokenResponse |
AbstractOAuth2TokenService.requestAccessToken(URI tokenEndpointUri,
HttpHeaders headers,
Map<String,String> parameters)
Implements the HTTP client specific logic to perform an HTTP request and
handle the response.
|
| Modifier and Type | Method and Description |
|---|---|
static HttpHeaders |
HttpHeadersFactory.createWithAuthorizationBearerHeader(String token)
Adds the
Authorization: Bearer <token> header to the set of headers. |
static HttpHeaders |
HttpHeadersFactory.createWithoutAuthorizationHeader()
Creates the set of HTTP headers with client-credentials basic authentication
header.
|
Copyright © 2020. All rights reserved.