21#ifndef G_SASL_CLIENT_SECRETS_H
22#define G_SASL_CLIENT_SECRETS_H
30 class SaslClientSecrets ;
An interface used by GAuth::SaslClient to obtain a client id and its authentication secret.
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.
virtual Secret clientSecret(std::string_view type, std::string_view selector) const =0
Returns the client secret for the given type.
virtual ~SaslClientSecrets()=default
Destructor.
Encapsulates a userid/shared-secret/hash-function tuple from the secrets file.
SASL authentication classes.