This commit is contained in:
2025-04-02 14:31:42 -03:00
parent b1b7ca54ff
commit 748764833b

View File

@@ -27,7 +27,7 @@ class TenantMiddleware(BaseMiddlewareHandler):
Middleware that associates a Tenant instance with the request context based on the authentication flow. Middleware that associates a Tenant instance with the request context based on the authentication flow.
For API authentication (`AuthFlowType.API_AUTH`), it assigns tenant information directly from the authorizer context. For API authentication (`AuthFlowType.API_AUTH`), it assigns tenant information directly from the authorizer context.
For User authentication (`AuthFlowType.USER_AUTH`), it gets the Tenant ID from the specified request header. For user authentication (`AuthFlowType.USER_AUTH`), it gets the Tenant ID from the specified request header.
Parameters Parameters
---------- ----------