Class DwcAuthTokenFacade
java.lang.Object
com.sap.cloud.sdk.cloudplatform.security.DefaultAuthTokenFacade
com.sap.cloud.sdk.cloudplatform.security.DwcAuthTokenFacade
- All Implemented Interfaces:
AuthTokenFacade
Auth token facade for Deploy with Confidence (DwC) environment.
- Since:
- 5.6.0
-
Field Summary
Fields inherited from interface com.sap.cloud.sdk.cloudplatform.security.AuthTokenFacade
NULL
-
Constructor Summary
-
Method Summary
Methods inherited from class com.sap.cloud.sdk.cloudplatform.security.DefaultAuthTokenFacade
executeWithAuthToken
-
Constructor Details
-
DwcAuthTokenFacade
public DwcAuthTokenFacade()
-
-
Method Details
-
tryGetCurrentToken
Description copied from interface:AuthTokenFacade
Returns aTry
of the currentAuthToken
. AnAuthToken
is not available if no request is available or the request does not contain an "Authorization" header.- Specified by:
tryGetCurrentToken
in interfaceAuthTokenFacade
- Overrides:
tryGetCurrentToken
in classDefaultAuthTokenFacade
- Returns:
- A
Try
of the currentAuthToken
.
-