E-MailRelay
|
A thin adapter between GAuth::SecretsFile and GAuth::SaslClientSecrets returned by GAuth::Secrets::newClientSecrets(). More...
#include <gsecrets.h>
Public Member Functions | |
SecretsFileClient (const std::string &path_spec, const std::string &log_name) | |
Constructor. See GAuth::Secrets::newClientSecrets(). More... | |
~SecretsFileClient () override | |
Destructor. | |
SecretsFileClient (const SecretsFileClient &)=delete | |
SecretsFileClient (SecretsFileClient &&)=delete | |
SecretsFileClient & | operator= (const SecretsFileClient &)=delete |
SecretsFileClient & | operator= (SecretsFileClient &&)=delete |
![]() | |
virtual | ~SaslClientSecrets ()=default |
Destructor. | |
virtual bool | validSelector (std::string_view selector) const =0 |
Returns true if the selector is valid. | |
virtual bool | mustAuthenticate (std::string_view selector) const =0 |
Returns true if authentication is required. More... | |
virtual Secret | clientSecret (std::string_view type, std::string_view selector) const =0 |
Returns the client secret for the given type. More... | |
A thin adapter between GAuth::SecretsFile and GAuth::SaslClientSecrets returned by GAuth::Secrets::newClientSecrets().
Definition at line 77 of file gsecrets.h.
GAuth::SecretsFileClient::SecretsFileClient | ( | const std::string & | path_spec, |
const std::string & | log_name | ||
) |
Constructor. See GAuth::Secrets::newClientSecrets().
Definition at line 86 of file gsecrets.cpp.