pulsar-client-cpp
|
#include <Authentication.h>
Public Member Functions | |
AuthAthenz (AuthenticationDataPtr &) | |
const std::string | getAuthMethodName () const |
Result | getAuthData (AuthenticationDataPtr &authDataAthenz) |
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_ |
Athenz implementation of Pulsar client authentication
|
static |
Create an AuthAthenz with an authentication parameter string
|
static |
Create an AuthAthenz with a ParamMap
The required parameter keys are “tenantDomain”, “tenantService”, “providerDomain”, “privateKey”, and “ztsUrl”
params | the key-value to construct ZTS client |
|
virtual |
Get AuthenticationData from the current instance
[out] | authDataAthenz | 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.