@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2023-10-24T11:26:28.777294+02:00[Europe/Berlin]")
public class HttpBearerAuth
extends java.lang.Object
implements Authentication
| Constructor and Description |
|---|
HttpBearerAuth(java.lang.String scheme) |
| Modifier and Type | Method and Description |
|---|---|
void |
applyToParams(java.util.List<Pair> queryParams,
java.util.Map<java.lang.String,java.lang.String> headerParams,
java.util.Map<java.lang.String,java.lang.String> cookieParams,
java.lang.String payload,
java.lang.String method,
java.net.URI uri)
Apply authentication settings to header and query params.
|
java.lang.String |
getBearerToken()
Gets the token, which together with the scheme, will be sent as the value of the Authorization header.
|
void |
setBearerToken(java.lang.String bearerToken)
Sets the token, which together with the scheme, will be sent as the value of the Authorization header.
|
public java.lang.String getBearerToken()
public void setBearerToken(java.lang.String bearerToken)
bearerToken - The bearer token to send in the Authorization headerpublic void applyToParams(java.util.List<Pair> queryParams, java.util.Map<java.lang.String,java.lang.String> headerParams, java.util.Map<java.lang.String,java.lang.String> cookieParams, java.lang.String payload, java.lang.String method, java.net.URI uri) throws ApiException
AuthenticationapplyToParams in interface AuthenticationqueryParams - List of query parametersheaderParams - Map of header parameterscookieParams - Map of cookie parameterspayload - HTTP request bodymethod - HTTP methoduri - URIApiException - if failed to update the parameters