VMime
|
Public Member Functions | |
virtual const std::vector < shared_ptr< SASLMechanism > > | getAcceptableMechanisms (const std::vector< shared_ptr< SASLMechanism > > &available, shared_ptr< SASLMechanism > suggested) const =0 |
virtual void | setSASLSession (shared_ptr< SASLSession > sess)=0 |
virtual void | setSASLMechanism (shared_ptr< SASLMechanism > mech)=0 |
![]() | |
virtual const string | getUsername () const =0 |
virtual const string | getPassword () const =0 |
virtual const string | getHostname () const =0 |
virtual const string | getAnonymousToken () const =0 |
virtual const string | getServiceName () const =0 |
virtual void | setService (shared_ptr< net::service > serv)=0 |
Additional Inherited Members | |
![]() | |
object () | |
object (const object &) | |
object & | operator= (const object &) |
virtual | ~object () |
SASL-aware authenticator.
Usually, you should not inherit from this class, but instead from the more convenient defaultSASLAuthenticator class.
|
pure virtual |
This method is called to allow the client to choose the authentication mechanisms that will be used.
By default, the most secure mechanisms are chosen.
available | available mechanisms |
suggested | suggested mechanism (or NULL if the system could not suggest a mechanism) |
Implemented in defaultSASLAuthenticator.
|
pure virtual |
Set the SASL mechanism which has been selected for the SASL authentication process.
This may be called several times if the multiple mechanisms are tried by the service which use this authentication.
mech | SASL mechanism |
Implemented in defaultSASLAuthenticator.
|
pure virtual |
Set the SASL session which is using this authenticator.
sess | SASL session |
Implemented in defaultSASLAuthenticator.