@Beta public class OAuth extends Object implements Authentication
Constructor and Description |
---|
OAuth() |
Modifier and Type | Method and Description |
---|---|
void |
applyToParams(org.springframework.util.MultiValueMap<String,String> queryParams,
org.springframework.http.HttpHeaders headerParams)
Apply authentication settings to header and / or query parameters.
|
String |
getAccessToken()
Get the access token
|
void |
setAccessToken(String accessToken)
Set the access token
|
@Nonnull public String getAccessToken()
public void setAccessToken(@Nonnull String accessToken)
accessToken
- The access tokenpublic void applyToParams(@Nonnull org.springframework.util.MultiValueMap<String,String> queryParams, @Nonnull org.springframework.http.HttpHeaders headerParams)
applyToParams
in interface Authentication
queryParams
- The query parameters for the requestheaderParams
- The header parameters for the requestCopyright © 2020 SAP SE. All rights reserved.