#include <Authentication.h>
|
|
| AuthToken (AuthenticationDataPtr &) |
| |
|
const std::string | getAuthMethodName () const |
| |
|
Result | getAuthData (AuthenticationDataPtr &authDataToken) const |
| |
|
|
static AuthenticationPtr | create (ParamMap ¶ms) |
| |
|
static AuthenticationPtr | create (const std::string &authParamsString) |
| |
| static AuthenticationPtr | createWithToken (const std::string &token) |
| |
| static AuthenticationPtr | create (const TokenSupplier &tokenSupplier) |
| |
|
static ParamMap | parseDefaultFormatAuthParams (const std::string &authParamsString) |
| |
|
|
AuthenticationDataPtr | authData_ |
| |
Token based implementation of Pulsar client authentication
◆ create()
| static AuthenticationPtr pulsar::AuthToken::create |
( |
const TokenSupplier & |
tokenSupplier | ) |
|
|
static |
Create an authentication provider for token based authentication.
- Parameters
-
| tokenSupplier | a supplier of the client auth token |
◆ createWithToken()
| static AuthenticationPtr pulsar::AuthToken::createWithToken |
( |
const std::string & |
token | ) |
|
|
static |
Create an authentication provider for token based authentication.
- Parameters
-
| token | a string containing the auth token |
The documentation for this class was generated from the following file: