diff options
author | Kali Kaneko <kali@leap.se> | 2015-12-08 21:04:11 -0400 |
---|---|---|
committer | Kali Kaneko <kali@leap.se> | 2015-12-15 12:31:04 -0400 |
commit | 98384361a7c49ad4e0ff0127fd923a8b72cc910a (patch) | |
tree | c315b65397ac97210d6f1a3ee5e521b4d8917678 /src/leap/bitmask/backend/leapbackend.py | |
parent | 6c0299e7e2df65651ff8738fa18acbc08af18c32 (diff) |
[feat] adapt to use cred-based authentication for imap
This includes getting the token for the imap authentication, and
displaying it on the help window.
- Resolves: #4469
- Releases: 0.10.0
Diffstat (limited to 'src/leap/bitmask/backend/leapbackend.py')
-rw-r--r-- | src/leap/bitmask/backend/leapbackend.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/leap/bitmask/backend/leapbackend.py b/src/leap/bitmask/backend/leapbackend.py index cf45c4f8..d0668a1c 100644 --- a/src/leap/bitmask/backend/leapbackend.py +++ b/src/leap/bitmask/backend/leapbackend.py @@ -35,6 +35,7 @@ class LeapBackend(Backend): """ Backend server subclass, used to implement the API methods. """ + def __init__(self, bypass_checks=False, frontend_pid=None): """ Constructor for the backend. @@ -438,6 +439,12 @@ class LeapBackend(Backend): """ self._soledad.load_offline(username, password, uuid) + def soledad_get_service_token(self, service): + """ + Attempt to get an authentication token for a given service. + """ + self._soledad.get_service_token(service) + def soledad_cancel_bootstrap(self): """ Cancel the ongoing soledad bootstrapping process (if any). |