Changeset 57:0d8b6cf41728 in ralphm-patches for client_listen_authenticator.patch
- Timestamp:
- Mar 28, 2012, 1:43:02 PM (10 years ago)
- Branch:
- default
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
client_listen_authenticator.patch
r54 r57 1 1 # HG changeset patch 2 # Parent 661689a96e34ac375d95c612d36d959eee3927a92 # Parent 75701188facc278f61a0dfb4bcfcd2232ee771ca 3 3 Add authenticator for accepting XMPP client connections. 4 4 … … 21 21 * Support for multiple domains? 22 22 23 diff -r 661689a96e34wokkel/client.py24 --- a/wokkel/client.py Wed Oct 05 09:40:15 2011 +020025 +++ b/wokkel/client.py Wed Oct 05 09:50:55 2011 +020026 @@ -10,14 +10,2 4@@23 diff -r 75701188facc wokkel/client.py 24 --- a/wokkel/client.py Wed Nov 23 09:52:41 2011 +0100 25 +++ b/wokkel/client.py Wed Nov 30 09:31:07 2011 +0100 26 @@ -10,14 +10,26 @@ 27 27 that should probably eventually move there. 28 28 """ … … 32 32 from twisted.application import service 33 33 from twisted.internet import reactor 34 +from twisted.python import log 34 35 from twisted.names.srvconnect import SRVConnector 35 36 -from twisted.words.protocols.jabber import client, sasl, xmlstream 36 37 +from twisted.words.protocols.jabber import client, error, sasl, xmlstream 38 +from twisted.words.xish import domish 37 39 38 40 from wokkel import generic … … 50 52 """ 51 53 Check what authentication methods are available. 52 @@ -51,7 +6 1,7 @@54 @@ -51,7 +63,7 @@ 53 55 autentication. 54 56 """ … … 59 61 def __init__(self, jid, password): 60 62 xmlstream.ConnectAuthenticator.__init__(self, jid.host) 61 @@ -186,3 +19 6,152 @@63 @@ -186,3 +198,152 @@ 62 64 c = XMPPClientConnector(reactor, domain, factory) 63 65 c.connect()
Note: See TracChangeset
for help on using the changeset viewer.