@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2020-02-18T19:12:57.995Z[UTC]")
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)
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)
AuthenticationapplyToParams in interface AuthenticationqueryParams - List of query parametersheaderParams - Map of header parameters