mirror of
https://github.com/valitydev/openapi-generator.git
synced 2024-11-07 02:55:19 +00:00
[Java] Update Javadocs for HttpBearerAuth (#2364)
This commit is contained in:
parent
a0d907cf27
commit
1491c7037c
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user