CallbackHandler
authx._internal._callback._CallbackHandler
Bases: Generic[T]
Base class for callback handlers in AuthX.
PARAMETER | DESCRIPTION |
---|---|
Generic |
Model type
TYPE:
|
RAISES | DESCRIPTION |
---|---|
AttributeError
|
If callback is not set |
Base class for callback handlers in AuthX.
PARAMETER | DESCRIPTION |
---|---|
model |
TYPE:
|
PARAMETER | DESCRIPTION |
---|---|
model |
Model instance
TYPE:
|
Source code in authx/_internal/_callback.py
set_callback_get_model_instance
set_callback_token_blocklist
is_token_in_blocklist
Check if token is in blocklist
PARAMETER | DESCRIPTION |
---|---|
token |
TYPE:
|
**kwargs |
DEFAULT:
|