fix javaodc in resttemplate oauth class (#19918)

This commit is contained in:
William Cheng 2024-10-19 21:52:18 +08:00 committed by GitHub
parent 695902cca1
commit 8c8f2f3521
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
6 changed files with 6 additions and 6 deletions

View File

@ -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);

View File

@ -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);

View File

@ -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);

View File

@ -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);

View File

@ -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);

View File

@ -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);