Class tigrbl.types.authn_abc.AuthNProvider
tigrbl.types.authn_abc.AuthNProvider
Bases: ABC
Marker‑interface that any AuthN extension must implement so that Tigrbl can plug itself in at run‑time.
get_principal
abstractmethod
async
get_principal(request)
Return {"sub": user_id, "tid": tenant_id, ...} or raise HTTP 401.
Source code in tigrbl/types/authn_abc.py
14 15 16 |
|