summaryrefslogtreecommitdiff
path: root/src/leap/crypto
diff options
context:
space:
mode:
Diffstat (limited to 'src/leap/crypto')
-rw-r--r--src/leap/crypto/srpauth.py8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/leap/crypto/srpauth.py b/src/leap/crypto/srpauth.py
index ce6c28f4..2f3cbd1c 100644
--- a/src/leap/crypto/srpauth.py
+++ b/src/leap/crypto/srpauth.py
@@ -373,7 +373,7 @@ class SRPAuth(QtCore.QObject):
QtCore.QMutexLocker(self._token_lock)
self._token = token
- def get_token(self, token):
+ def get_token(self):
QtCore.QMutexLocker(self._token_lock)
return self._token
@@ -431,6 +431,12 @@ class SRPAuth(QtCore.QObject):
def get_session_id(self):
return self.__instance.get_session_id()
+ def get_uid(self):
+ return self.__instance.get_uid()
+
+ def get_token(self):
+ return self.__instance.get_token()
+
def logout(self):
"""
Logs out the current session.