21 #ifndef G_SASL_CLIENT_H
22 #define G_SASL_CLIENT_H
59 Response response(
const std::string & mechanism ,
const std::string & challenge )
const ;
75 std::string
id()
const ;
79 std::string
info()
const ;
std::string info() const
Returns logging and diagnostic information, valid after the last response().
An interface used by GAuth::SaslClient to obtain a client id and its authentication secret...
SaslClient(const SaslClientSecrets &secrets)
Constructor. The secrets reference is kept.
std::vector< std::string > StringArray
A std::vector of std::strings.
bool active() const
Returns true if the constructor's secrets object is valid.
Response response(const std::string &mechanism, const std::string &challenge) const
Returns a response to the given challenge.
std::string id() const
Returns the authentication id, valid after the last response().
A private pimple-pattern implementation class used by GAuth::SaslClient.
A class that implements the client-side SASL challenge/response concept.
bool next()
Moves to the next preferred mechanism.
SASL authentication classes.
std::string preferred() const
Returns the name of the current preferred mechanism after next() returns true.
Result structure returned from GAuth::SaslClient::response.