Differences From Artifact [c92946c52e]:
- File src/XMPPExceptions.h — part of check-in [0d872572ac] at 2011-02-18 00:56:41 on branch trunk — Perform IDNA's ToASCII operation on the server's domain name (user: florob@babelmonkeys.de, size: 2321) [annotate] [blame] [check-ins using]
To Artifact [e4ea710d7a]:
- File
src/XMPPExceptions.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: 2675) [annotate] [blame] [check-ins using]
︙ | |||
19 20 21 22 23 24 25 26 27 28 29 30 31 32 | 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 | + | * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE * POSSIBILITY OF SUCH DAMAGE. */ #import <ObjFW/ObjFW.h> @class XMPPConnection; @class XMPPAuthenticator; @interface XMPPException: OFException { XMPPConnection *connection; } @property (readonly, nonatomic) XMPPConnection *connection; |
︙ | |||
68 69 70 71 72 73 74 | 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 | + + + + + + + + + + + + + + + | operation: (OFString*)operation string: (OFString*)string; - initWithClass: (Class)class_ connection: (XMPPConnection*)conn operation: (OFString*)operation string: (OFString*)string; @end @interface XMPPAuthFailedException: XMPPException { OFString *reason; } @property (readonly, nonatomic) OFString *reason; + newWithClass: (Class)class_ connection: (XMPPConnection*)conn reason: (OFString*)reason_; - initWithClass: (Class)class_ connection: (XMPPConnection*)conn reason: (OFString*)reason_; @end |