Differences From Artifact [c2b505a01d]:
- File
src/XMPPSCRAMAuth.h
— part of check-in
[6a3b0a9988]
at
2011-02-21 03:09:39
on branch trunk
— Add SCRAM-SHA-1 support
This adds the new base class XMPPAuthenticator and the derived
classes XMPPSCRAMAuth and XMPPPLAINAuth.
They are now used for authentication from within XMPPConnection.Also adds XMPPAuthFailedException which is thrown in appropriate places. (user: florob@babelmonkeys.de, size: 3156) [annotate] [blame] [check-ins using]
To Artifact [0cd4b1aae7]:
- File src/XMPPSCRAMAuth.h — part of check-in [c8b860a877] at 2011-02-25 22:52:29 on branch trunk — A little cleanup work. Still needs a configure script. (user: js, size: 3161) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
40 41 42 43 44 45 46 | * * \param authcid The authcid to authenticate with * \param password The password to authenticate with * \param hash The class to use for calulating hashes * \return A new autoreleased XMPPSCRAMAuth */ + SCRAMAuthWithAuthcid: (OFString*)authcid | | | | | | | | 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 | * * \param authcid The authcid to authenticate with * \param password The password to authenticate with * \param hash The class to use for calulating hashes * \return A new autoreleased XMPPSCRAMAuth */ + SCRAMAuthWithAuthcid: (OFString*)authcid password: (OFString*)password hash: (Class)hash; /** * Creates a new autoreleased XMPPSCRAMAuth with an authzid, * authcid and password. * * \param authzid The authzid to get authorization for * \param authcid The authcid to authenticate with * \param password The password to authenticate with * \param hash The class to use for calulating hashes * \return A new autoreleased XMPPSCRAMAuth */ + SCRAMAuthWithAuthzid: (OFString*)authzid authcid: (OFString*)authcid password: (OFString*)password hash: (Class)hash; /** * Initializes an already allocated XMPPSCRAMAuth with an authcid and password. * * \param authcid The authcid to authenticate with * \param password The password to authenticate with * \param hash The class to use for calulating hashes * \return A initialized XMPPSCRAMAuth */ - initWithAuthcid: (OFString*)authcid password: (OFString*)password hash: (Class)hash; /** * Initializes an already allocated XMPPSCRAMAuth with a authzid, * authcid and password. * * \param authzid The authzid to get authorization for * \param authcid The authcid to authenticate with |
︙ | ︙ |