pulsar-client-cpp
Static Public Member Functions | Static Protected Member Functions | Static Protected Attributes | List of all members
pulsar::AuthFactory Class Reference

#include <Authentication.h>

Static Public Member Functions

static AuthenticationPtr Disabled ()
 
static AuthenticationPtr create (const std::string &dynamicLibPath)
 
static AuthenticationPtr create (const std::string &dynamicLibPath, const std::string &authParamsString)
 
static AuthenticationPtr create (const std::string &dynamicLibPath, ParamMap &params)
 

Static Protected Member Functions

static void release_handles ()
 

Static Protected Attributes

static bool isShutdownHookRegistered_
 
static std::vector< void * > loadedLibrariesHandles_
 

Detailed Description

AuthFactory is used to create instances of Authentication class when configuring a Client instance. It loads the authentication from an external plugin.

To use authentication methods that are internally supported, you should use AuthTls::create("my-cert.pem", "my-private.key") or similar.

Member Function Documentation

static AuthenticationPtr pulsar::AuthFactory::create ( const std::string &  dynamicLibPath)
static

Create

Parameters
dynamicLibPath
Returns

The documentation for this class was generated from the following file: