Skip to content

__AbstractInstance

__AbstractInstance

Bases: ABC

Abstract Instance object.

Methods:

Name Description
gen_jwt_token

Generate new JWT token.

make_payload

Generate new template.

verify_jwt_token

Verify JWT token.

gen_jwt_token abstractmethod

gen_jwt_token(payload) -> str

Generate new JWT token.

make_payload abstractmethod

make_payload(**payload) -> Any

Generate new template.

verify_jwt_token abstractmethod

verify_jwt_token(token: str, check_exp: bool, check_list: bool) -> Any

Verify JWT token.