linkahead/authentication.h
Configuration and setup of the client authentication.
- Author
Timm Fitschen
- Date
2021-06-28
-
namespace linkahead
-
namespace authentication
-
class Authenticator
- #include <authentication.h>
Abstract base class for authenticators.
Subclassed by linkahead::authentication::PlainPasswordAuthenticator
-
class MetadataCredentialsPluginImpl : public MetadataCredentialsPlugin
- #include <authentication.h>
Implementation of a MetadataCredentialsPlugin which my be created by any implementation of the Authenticator class. Only intended for internal use.
-
class PlainPasswordAuthenticator : public linkahead::authentication::Authenticator
Public Functions
-
PlainPasswordAuthenticator(const std::string &username, const std::string &password)
-
virtual auto GetCallCredentials() const -> std::shared_ptr<grpc::CallCredentials> override
Private Members
-
std::string basic
-
PlainPasswordAuthenticator(const std::string &username, const std::string &password)
-
class Authenticator
-
namespace authentication