Package | Description |
---|---|
com.sap.cloud.sdk.cloudplatform.connectivity | |
com.sap.cloud.sdk.cloudplatform.security |
Modifier and Type | Method and Description |
---|---|
Header |
XsuaaService.retrieveAccessTokenHeaderViaClientCredentialsGrant(URI xsuaaUri,
ClientCredentials credentials)
Retrieves an
AccessToken for a given pair of client credentials and returns it as part of an
Authorization header. |
Header |
XsuaaService.retrieveAccessTokenHeaderViaUserTokenGrant(URI xsuaaUri,
ClientCredentials credentials)
Retrieves an
AccessToken for a given pair of client credentials in the name of an authenticated user (to
be found in the JWT of the current request) and returns it as part of an Authorization header. |
com.sap.cloud.sdk.cloudplatform.connectivity.AccessToken |
XsuaaService.retrieveAccessTokenViaClientCredentialsGrant(URI xsuaaUri,
ClientCredentials credentials)
Retrieves an
AccessToken for a given pair of client credentials. |
com.sap.cloud.sdk.cloudplatform.connectivity.AccessToken |
XsuaaService.retrieveAccessTokenViaUserTokenGrant(URI xsuaaUri,
ClientCredentials credentials)
Retrieves an
AccessToken for a given pair of client credentials in the name of an authenticated user (to
be found in the JWT of the current request). |
Modifier and Type | Method and Description |
---|---|
static AuthToken |
AuthTokenAccessor.getXsuaaServiceToken()
Retrieves a validated authentication token from the bound XSUAA instance.
|
Copyright © 2020 SAP SE. All rights reserved.