move seeds dir
This commit is contained in:
@@ -27,8 +27,7 @@ class Tenant(BaseModel):
|
||||
|
||||
|
||||
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 user authentication (`AuthFlowType.USER_AUTH`), it gets the Tenant ID from the specified request header.
|
||||
|
||||
Reference in New Issue
Block a user