TokenPayload#
authx.schema.TokenPayload #
Bases: BaseModel
model_config class-attribute
instance-attribute
#
has_scopes #
PARAMETER | DESCRIPTION |
---|---|
*scopes | TYPE: |
Source code in authx/schema.py
encode #
PARAMETER | DESCRIPTION |
---|---|
key | TYPE: |
algorithm | TYPE: |
ignore_errors | TYPE: |
headers | TYPE: |
data | TYPE: |
Source code in authx/schema.py
decode classmethod
#
PARAMETER | DESCRIPTION |
---|---|
token | TYPE: |
key | TYPE: |
algorithms | TYPE: |
audience | TYPE: |
issuer | TYPE: |
verify | TYPE: |