21#ifndef G_SASL_SERVER_PAM_H
22#define G_SASL_SERVER_PAM_H
36 class SaslServerPamImp ;
63 bool requiresEncryption()
const override ;
64 bool active()
const override ;
65 std::string mechanisms(
char sep )
const override ;
66 bool init(
const std::string & mechanism )
override ;
67 std::string mechanism()
const override ;
68 bool mustChallenge()
const override ;
69 std::string initialChallenge()
const override ;
70 std::string apply(
const std::string & response ,
bool & done )
override ;
71 bool authenticated()
const override ;
72 std::string id()
const override ;
76 std::unique_ptr<SaslServerPamImp> m_imp ;
An implementation of the SaslServer interface using PAM as the authentication mechanism.
SaslServerPam(const SaslServerSecrets &, const std::string &config, bool allow_apop)
Constructor.
An interface used by GAuth::SaslServer to obtain authentication secrets.
An interface for implementing the server-side SASL challenge/response concept.
The GNet::Address class encapsulates a TCP/UDP transport address.
SASL authentication classes.