Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions hello_world.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
print("Hello World")
3 changes: 3 additions & 0 deletions pseud/auth.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,9 @@ class _BaseAuthBackend:
def __init__(self, rpc):
self.rpc = rpc

async def handle_authentication(self, user_id, routing_id, message_uuid):
pass


@register_auth_backend
@zope.interface.implementer(IAuthenticationBackend)
Expand Down
2 changes: 1 addition & 1 deletion pseud/interfaces.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ async def handle_hello(user_id, routing_id, message_uuid, message):
'Welcome {!r}'.format(user_id)])
"""

async def handle_authentication(self, user_id, routing_id, message_uuid):
async def handle_authentication(user_id, routing_id, message_uuid):
"""
Called when rpc received acknowledgement of failed authentication.
"""
Expand Down