@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2022-09-29T11:12:16.359+02:00[Europe/Berlin]") public class HttpBearerAuth extends Object implements Authentication
Constructor and Description |
---|
HttpBearerAuth(String scheme) |
Modifier and Type | Method and Description |
---|---|
void |
applyToParams(List<Pair> queryParams,
Map<String,String> headerParams,
Map<String,String> cookieParams)
Apply authentication settings to header and query params.
|
String |
getBearerToken()
Gets the token, which together with the scheme, will be sent as the value of the Authorization header.
|
void |
setBearerToken(String bearerToken)
Sets the token, which together with the scheme, will be sent as the value of the Authorization header.
|
public HttpBearerAuth(String scheme)
public String getBearerToken()
public void setBearerToken(String bearerToken)
bearerToken
- The bearer token to send in the Authorization headerpublic void applyToParams(List<Pair> queryParams, Map<String,String> headerParams, Map<String,String> cookieParams)
Authentication
applyToParams
in interface Authentication
queryParams
- List of query parametersheaderParams
- Map of header parameterscookieParams
- Map of cookie parametersCopyright © 2022. All rights reserved.