Rapportsystem API - of D03N
Hovedprosjekt FiV Programmering 20-24
Loading...
Searching...
No Matches
tokenHandler.UserTokenHandler Class Reference
Collaboration diagram for tokenHandler.UserTokenHandler:

Public Member Functions

 __init__ (self)
 
 login (self, user_id)
 
 is_authenticated (self)
 
 check_token_validity (self, token)
 
 logout (self)
 
 revoke_tokens_by_user_id (self, user_id)
 
 store_token (self, user_id, jti)
 

Detailed Description

Definition at line 7 of file tokenHandler.py.

Constructor & Destructor Documentation

◆ __init__()

tokenHandler.UserTokenHandler.__init__ ( self)

Definition at line 8 of file tokenHandler.py.

Member Function Documentation

◆ check_token_validity()

tokenHandler.UserTokenHandler.check_token_validity ( self,
token )

Definition at line 33 of file tokenHandler.py.

Here is the caller graph for this function:

◆ is_authenticated()

tokenHandler.UserTokenHandler.is_authenticated ( self)

Definition at line 20 of file tokenHandler.py.

Here is the call graph for this function:

◆ login()

tokenHandler.UserTokenHandler.login ( self,
user_id )

Definition at line 12 of file tokenHandler.py.

Here is the call graph for this function:

◆ logout()

tokenHandler.UserTokenHandler.logout ( self)

Definition at line 51 of file tokenHandler.py.

Here is the call graph for this function:

◆ revoke_tokens_by_user_id()

tokenHandler.UserTokenHandler.revoke_tokens_by_user_id ( self,
user_id )

Definition at line 62 of file tokenHandler.py.

Here is the caller graph for this function:

◆ store_token()

tokenHandler.UserTokenHandler.store_token ( self,
user_id,
jti )

Definition at line 78 of file tokenHandler.py.

Here is the caller graph for this function:

The documentation for this class was generated from the following file: