[Java] Update Javadocs for HttpBearerAuth (#2364)

This commit is contained in:
Elliot Lee 2019-03-11 18:27:47 -07:00 committed by William Cheng
parent a0d907cf27
commit 1491c7037c

View File

@ -18,6 +18,8 @@ public class HttpBearerAuth implements Authentication {
/**
* Gets the token, which together with the scheme, will be sent as the value of the Authorization header.
*
* @return The bearer token
*/
public String getBearerToken() {
return bearerToken;
@ -25,6 +27,8 @@ public class HttpBearerAuth implements Authentication {
/**
* Sets the token, which together with the scheme, will be sent as the value of the Authorization header.
*
* @param bearerToken The bearer token to send in the Authorization header
*/
public void setBearerToken(String bearerToken) {
this.bearerToken = bearerToken;