Skip to content

jam.jwt.lists.BaseJWTList

BaseJWTList

BaseJWTList(list_type: Literal['white', 'black'])

Bases: ABC

Abstract class for lists manipulation.

Methods:

Name Description
add

Method for adding token to list.

check

Method for checking if a token is present in the list.

delete

Method for removing a token from a list.

add abstractmethod

add(token: str) -> Any

Method for adding token to list.

check abstractmethod

check(token: str) -> Any

Method for checking if a token is present in the list.

delete abstractmethod

delete(token: str) -> Any

Method for removing a token from a list.

FILE PATH: jam/jwt/lists/__abc_list_repo__.py