21#ifndef G_SASL_SERVER_PAM_H
22#define G_SASL_SERVER_PAM_H
34 class SaslServerPamImp ;
62 void reset()
override ;
63 bool init(
bool ,
const std::string & mechanism )
override ;
64 std::string mechanism()
const override ;
65 std::string preferredMechanism(
bool )
const override ;
66 bool mustChallenge()
const override ;
67 std::string initialChallenge()
const override ;
68 std::string apply(
const std::string & response ,
bool & done )
override ;
69 bool authenticated()
const override ;
70 std::string id()
const override ;
71 bool trusted(
const G::StringArray & ,
const std::string & )
const override ;
74 std::unique_ptr<SaslServerPamImp> m_imp ;
An implementation of the SaslServer interface using PAM as the authentication mechanism.
SaslServerPam(bool with_apop)
Constructor.
An interface for implementing the server-side SASL challenge/response concept.
SASL authentication classes.
std::vector< std::string > StringArray
A std::vector of std::strings.