![]() |
KVIrc
4.9.2
DeveloperAPIs
|
This namespace implement some SASL authentication methods. More...
Functions | |
| bool | plainMethod (KviCString &szIn, KviCString &szOut, QByteArray &baNick, QByteArray &baPass) |
| Create the auth message for PLAIN authentication. More... | |
This namespace implement some SASL authentication methods.
Currently implementhed methods are PLAIN and DH-BLOWFISH
| KVILIB_API bool KviSASL::plainMethod | ( | KviCString & | szIn, |
| KviCString & | szOut, | ||
| QByteArray & | baNick, | ||
| QByteArray & | baPass | ||
| ) |
Create the auth message for PLAIN authentication.
| szIn | The server-provided token |
| szOut | A KviCString that will be filled with the authentication message |
| baNick | The username |
| baPass | The password |
References KviMemory::allocate(), KviCString::bufferToBase64(), and KviMemory::free().
Referenced by KviIrcConnection::handleAuthenticate().
1.8.7