| Package | Description |
|---|---|
| com.sap.cloud.security.xsuaa.client | |
| com.sap.cloud.security.xsuaa.tokenflows |
| Modifier and Type | Method and Description |
|---|---|
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.
|
protected OAuth2TokenResponse |
XsuaaOAuth2TokenService.requestAccessToken(URI tokenEndpointUri,
HttpHeaders headers,
Map<String,String> parameters) |
default OAuth2TokenResponse |
OAuth2TokenService.retrieveAccessTokenViaClientCredentialsGrant(URI tokenEndpointUri,
ClientIdentity clientIdentity,
String subdomain,
Map<String,String> optionalParameters)
Deprecated.
gets removed in favor of
OAuth2TokenService.retrieveAccessTokenViaClientCredentialsGrant(URI, ClientIdentity, String, Map, boolean)
with next major version 3.0.0 |
default OAuth2TokenResponse |
OAuth2TokenService.retrieveAccessTokenViaClientCredentialsGrant(URI tokenEndpointUri,
ClientIdentity clientIdentity,
String subdomain,
Map<String,String> optionalParameters,
boolean disableCacheForRequest)
Deprecated.
gets removed in favor of
OAuth2TokenService.retrieveAccessTokenViaClientCredentialsGrant(URI, ClientIdentity, String, String, Map, boolean)
with next major version 3.0.0 |
OAuth2TokenResponse |
OAuth2TokenService.retrieveAccessTokenViaClientCredentialsGrant(URI tokenEndpointUri,
ClientIdentity clientIdentity,
String zoneId,
String subdomain,
Map<String,String> optionalParameters,
boolean disableCacheForRequest)
Requests access token from OAuth Server with client credentials.
|
OAuth2TokenResponse |
AbstractOAuth2TokenService.retrieveAccessTokenViaClientCredentialsGrant(URI tokenEndpointUri,
ClientIdentity clientIdentity,
String zoneId,
String subdomain,
Map<String,String> optionalParameters,
boolean disableCacheForRequest) |
OAuth2TokenResponse |
OAuth2TokenService.retrieveAccessTokenViaJwtBearerTokenGrant(URI tokenEndpointUri,
ClientIdentity clientIdentity,
String token,
Map<String,String> optionalParameters,
boolean disableCache,
String xZid) |
OAuth2TokenResponse |
AbstractOAuth2TokenService.retrieveAccessTokenViaJwtBearerTokenGrant(URI tokenEndpoint,
ClientIdentity clientIdentity,
String token,
Map<String,String> optionalParameters,
boolean disableCacheForRequest,
String zoneId) |
default OAuth2TokenResponse |
OAuth2TokenService.retrieveAccessTokenViaJwtBearerTokenGrant(URI tokenEndpointUri,
ClientIdentity clientIdentity,
String token,
String subdomain,
Map<String,String> optionalParameters)
Deprecated.
gets removed in favor of
OAuth2TokenService.retrieveAccessTokenViaJwtBearerTokenGrant(URI, ClientIdentity, String, String, Map, boolean)
with next major version 3.0.0 |
OAuth2TokenResponse |
OAuth2TokenService.retrieveAccessTokenViaJwtBearerTokenGrant(URI tokenEndpointUri,
ClientIdentity clientIdentity,
String token,
String subdomain,
Map<String,String> optionalParameters,
boolean disableCacheForRequest) |
OAuth2TokenResponse |
AbstractOAuth2TokenService.retrieveAccessTokenViaJwtBearerTokenGrant(URI tokenEndpoint,
ClientIdentity clientIdentity,
String token,
String subdomain,
Map<String,String> optionalParameters,
boolean disableCacheForRequest) |
default OAuth2TokenResponse |
OAuth2TokenService.retrieveAccessTokenViaPasswordGrant(URI tokenEndpointUri,
ClientIdentity clientIdentity,
String username,
String password,
String subdomain,
Map<String,String> optionalParameters)
Deprecated.
gets removed in favor of
OAuth2TokenService.retrieveAccessTokenViaPasswordGrant(URI, ClientIdentity, String, String, String, Map, boolean)
with next major version 3.0.0 |
OAuth2TokenResponse |
OAuth2TokenService.retrieveAccessTokenViaPasswordGrant(URI tokenEndpointUri,
ClientIdentity clientIdentity,
String username,
String password,
String subdomain,
Map<String,String> optionalParameters,
boolean disableCacheForRequest)
Requests access token from OAuth Server with user / password.
|
OAuth2TokenResponse |
AbstractOAuth2TokenService.retrieveAccessTokenViaPasswordGrant(URI tokenEndpoint,
ClientIdentity clientIdentity,
String username,
String password,
String subdomain,
Map<String,String> optionalParameters,
boolean disableCacheForRequest) |
default OAuth2TokenResponse |
OAuth2TokenService.retrieveAccessTokenViaRefreshToken(URI tokenEndpointUri,
ClientIdentity clientIdentity,
String refreshToken,
String subdomain)
Deprecated.
gets removed in favor of
OAuth2TokenService.retrieveAccessTokenViaRefreshToken(URI, ClientIdentity, String, String, boolean)
with next major version 3.0.0 |
OAuth2TokenResponse |
OAuth2TokenService.retrieveAccessTokenViaRefreshToken(URI tokenEndpointUri,
ClientIdentity clientIdentity,
String refreshToken,
String subdomain,
boolean disableCacheForRequest)
Requests access token from OAuth Server with refresh-token.
|
OAuth2TokenResponse |
AbstractOAuth2TokenService.retrieveAccessTokenViaRefreshToken(URI tokenEndpointUri,
ClientIdentity clientIdentity,
String refreshToken,
String subdomain,
boolean disableCacheForRequest) |
OAuth2TokenResponse |
OAuth2TokenService.retrieveAccessTokenViaUserTokenGrant(URI tokenEndpointUri,
ClientIdentity clientIdentity,
String token,
String subdomain,
Map<String,String> optionalParameters)
Deprecated.
instead use jwt bearer
{
OAuth2TokenService.retrieveAccessTokenViaJwtBearerTokenGrant(URI, ClientIdentity, String, String, Map)}. |
OAuth2TokenResponse |
AbstractOAuth2TokenService.retrieveAccessTokenViaUserTokenGrant(URI tokenEndpointUri,
ClientIdentity clientIdentity,
String token,
String subdomain,
Map<String,String> optionalParameters) |
| Modifier and Type | Method and Description |
|---|---|
OAuth2TokenResponse |
PasswordTokenFlow.execute()
Executes this flow against the XSUAA endpoint.
|
OAuth2TokenResponse |
RefreshTokenFlow.execute()
Executes the refresh token flow against XSUAA.
|
OAuth2TokenResponse |
UserTokenFlow.execute()
Executes this flow against the XSUAA endpoint.
|
OAuth2TokenResponse |
ClientCredentialsTokenFlow.execute()
Executes the token flow and returns a JWT token from XSUAA.
|
Copyright © 2022. All rights reserved.