forked from loafle/openapi-generator-original
fix javaodc in resttemplate oauth class (#19918)
This commit is contained in:
parent
695902cca1
commit
8c8f2f3521
@ -26,7 +26,7 @@ public class OAuth implements Authentication {
|
||||
/**
|
||||
* Sets the bearer access token used for Authorization.
|
||||
*
|
||||
* @param bearerToken The bearer token to send in the Authorization header
|
||||
* @param accessToken The bearer token to send in the Authorization header
|
||||
*/
|
||||
public void setAccessToken(String accessToken) {
|
||||
setAccessToken(() -> accessToken);
|
||||
|
@ -37,7 +37,7 @@ public class OAuth implements Authentication {
|
||||
/**
|
||||
* Sets the bearer access token used for Authorization.
|
||||
*
|
||||
* @param bearerToken The bearer token to send in the Authorization header
|
||||
* @param accessToken The bearer token to send in the Authorization header
|
||||
*/
|
||||
public void setAccessToken(String accessToken) {
|
||||
setAccessToken(() -> accessToken);
|
||||
|
@ -37,7 +37,7 @@ public class OAuth implements Authentication {
|
||||
/**
|
||||
* Sets the bearer access token used for Authorization.
|
||||
*
|
||||
* @param bearerToken The bearer token to send in the Authorization header
|
||||
* @param accessToken The bearer token to send in the Authorization header
|
||||
*/
|
||||
public void setAccessToken(String accessToken) {
|
||||
setAccessToken(() -> accessToken);
|
||||
|
@ -37,7 +37,7 @@ public class OAuth implements Authentication {
|
||||
/**
|
||||
* Sets the bearer access token used for Authorization.
|
||||
*
|
||||
* @param bearerToken The bearer token to send in the Authorization header
|
||||
* @param accessToken The bearer token to send in the Authorization header
|
||||
*/
|
||||
public void setAccessToken(String accessToken) {
|
||||
setAccessToken(() -> accessToken);
|
||||
|
@ -37,7 +37,7 @@ public class OAuth implements Authentication {
|
||||
/**
|
||||
* Sets the bearer access token used for Authorization.
|
||||
*
|
||||
* @param bearerToken The bearer token to send in the Authorization header
|
||||
* @param accessToken The bearer token to send in the Authorization header
|
||||
*/
|
||||
public void setAccessToken(String accessToken) {
|
||||
setAccessToken(() -> accessToken);
|
||||
|
@ -37,7 +37,7 @@ public class OAuth implements Authentication {
|
||||
/**
|
||||
* Sets the bearer access token used for Authorization.
|
||||
*
|
||||
* @param bearerToken The bearer token to send in the Authorization header
|
||||
* @param accessToken The bearer token to send in the Authorization header
|
||||
*/
|
||||
public void setAccessToken(String accessToken) {
|
||||
setAccessToken(() -> accessToken);
|
||||
|
Loading…
x
Reference in New Issue
Block a user