
    6IiH                     V    S SK Jr  S SKJr  S SKJr  \" \" SS9S9 " S S5      5       rg	)
    )Optional)
ConfigDict)	dataclassallow)extra)configc                   V    \ rS rSr% Sr\\S'   \\S'   Sr\\   \S'   Sr	\\   \S'   Sr
g)	AuthenticatedEntity   a  
Represents an authenticated entity in the system.

This class is designed to be expandable. Different identity providers can
add additional fields as needed. For example, a Keycloak implementation
might add an 'org_id' field.

Attributes:
    tenant_id (str): The ID of the tenant this entity belongs to.
    email (str): The email address of the authenticated entity.
    api_key_name (Optional[str]): The name of the API key used for authentication, if applicable.
    role (Optional[str]): The role of the authenticated entity, if applicable.

Note:
    The `config=ConfigDict(extra="allow")` parameter allows for additional
    attributes to be added dynamically, making this class flexible for
    different authentication implementations.
	tenant_idemailNapi_key_namerole )__name__
__module____qualname____firstlineno____doc__str__annotations__r   r   r   __static_attributes__r       N/venv/lib/python3.13/site-packages/keep/identitymanager/authenticatedentity.pyr
   r
      s/    & NJ"&L(3-&D(3-r   r
   N)typingr   pydanticr   pydantic.dataclassesr   r
   r   r   r   <module>r      s1      * *7+,  -r   