21#ifndef G_SASL_SERVER_BASIC_H
22#define G_SASL_SERVER_BASIC_H
37 class SaslServerBasicImp ;
38 class SaslServerBasic ;
49 const std::string & config ,
const std::string & challenge_domain ) ;
61 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<SaslServerBasicImp> m_imp ;
An implementation of the SaslServer interface that does not use PAM.
SaslServerBasic(const SaslServerSecrets &, bool allow_pop, const std::string &config, const std::string &challenge_domain)
Constructor.
An interface used by GAuth::SaslServer to obtain authentication secrets.
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.