| 
    pulsar-client-cpp
    
   | 
 
#include <Authentication.h>
  
Public Member Functions | |
| AuthOauth2 (ParamMap ¶ms) | |
| const std::string | getAuthMethodName () const | 
| Result | getAuthData (AuthenticationDataPtr &authDataOauth2) | 
Static Public Member Functions | |
| static AuthenticationPtr | create (ParamMap ¶ms) | 
| static AuthenticationPtr | create (const std::string &authParamsString) | 
  Static Public Member Functions inherited from pulsar::Authentication | |
| static ParamMap | parseDefaultFormatAuthParams (const std::string &authParamsString) | 
Additional Inherited Members | |
  Protected Attributes inherited from pulsar::Authentication | |
| AuthenticationDataPtr | authData_ | 
Oauth2 based implementation of Pulsar client authentication. Passed in parameter would be like:
If passed in as std::string, it should be in Json format.
      
  | 
  static | 
Create an AuthOauth2 with an authentication parameter string
      
  | 
  static | 
Create an AuthOauth2 with a ParamMap
The required parameter keys are “issuer_url”, “private_key”, and “audience”
| parameters | the key-value to create OAuth 2.0 client credentials | 
      
  | 
  virtual | 
Get AuthenticationData from the current instance
| [out] | authDataOauth2 | the shared pointer of AuthenticationData. The content of AuthenticationData is changed to the internal data of the current instance. | 
Reimplemented from pulsar::Authentication.
      
  | 
  virtual | 
Implements pulsar::Authentication.
 1.8.17