Skip to content
Open
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
6 changes: 4 additions & 2 deletions resources/lib/authentication/authenticator.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,9 +93,11 @@ def get_authentication_token(self) -> Optional[str]:
return self.__hander.get_authentication_token()

def log_off(self, username, force=True):
""" Check if the user with the given name is currently authenticated.
""" Logs off the currently authenticated user, clearing stored tokens.

:param str username: The username to log off
:param str username: The username to log off.
:param bool force: If True, log off regardless of whether the stored
username matches the given one.

"""

Expand Down
Loading