E-MailRelay
|
An interface used by GAuth::SaslClient to obtain a client id and its authentication secret. More...
#include <gsaslclientsecrets.h>
Public Member Functions | |
virtual Secret | clientSecret (const std::string &type) const =0 |
Returns the client secret for the given type. More... | |
![]() | |
virtual bool | valid () const =0 |
Returns true if a valid source of information. More... | |
virtual | ~Valid ()=default |
Destructor. | |
An interface used by GAuth::SaslClient to obtain a client id and its authentication secret.
Conceptually there is one client and they can have secrets encoded in multiple ways.
Definition at line 38 of file gsaslclientsecrets.h.
|
pure virtual |
Returns the client secret for the given type.
The type is "plain" or the CRAM hash algorithm or "oauth". Returns an invalid secret if none.