AuthXDependency#
authx.dependencies.AuthXDependency #
Bases: Generic[T]
PARAMETER | DESCRIPTION |
---|---|
_from | TYPE: |
request | TYPE: |
response | TYPE: |
Source code in authx/dependencies.py
create_access_token #
create_access_token(uid, fresh=False, headers=None, expiry=None, data=None, audience=None, *args, **kwargs)
PARAMETER | DESCRIPTION |
---|---|
uid | TYPE: |
fresh | TYPE: |
headers | TYPE: |
expiry | TYPE: |
data | TYPE: |
audience | TYPE: |
*args | TYPE: |
**kwargs | TYPE: |
Source code in authx/dependencies.py
create_refresh_token #
PARAMETER | DESCRIPTION |
---|---|
uid | TYPE: |
headers | TYPE: |
expiry | TYPE: |
data | TYPE: |
audience | TYPE: |
*args | TYPE: |
**kwargs | TYPE: |
Source code in authx/dependencies.py
set_access_cookies #
PARAMETER | DESCRIPTION |
---|---|
token | TYPE: |
response | TYPE: |
max_age | TYPE: |
set_refresh_cookies #
PARAMETER | DESCRIPTION |
---|---|
token | TYPE: |
response | TYPE: |
max_age | TYPE: |