Skip to content

Commit

Permalink
Jira: invalidate all websudo sessions
Browse files Browse the repository at this point in the history
  • Loading branch information
Gonchik Tsymzhitov committed Jun 17, 2020
1 parent ebb1069 commit 8299ade
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions atlassian/jira.py
Original file line number Diff line number Diff line change
Expand Up @@ -281,6 +281,12 @@ def user_get_websudo(self):

return self.post(path=url, data=data, headers=headers)

def invalidate_websudo(self):
"""
This method invalidates the any current WebSudo session.
"""
return self.delete("rest/auth/1/websudo")

def user_find_by_user_string(self, username, start=0, limit=50, include_inactive_users=False,
include_active_users=True):
"""
Expand Down

0 comments on commit 8299ade

Please sign in to comment.