Skip to main content

User

Authenticated user profile used by Flet authorization flows.

The instance is a mutable mapping with provider-specific user fields and normalized attributes such as id and groups.

Parameters:

  • kwargs (dict[str, Any]) - Provider-specific user fields to store in the mapping.
  • id (str) - Stable user identifier.

Inherits: dict

Properties

  • groups - Groups loaded for this user when group retrieval is enabled.
  • id - Provider user identifier represented as a string.

Properties

groupsinstance-attribute

groups: list[Group] = []

Groups loaded for this user when group retrieval is enabled.

idinstance-attribute

id: str = id

Provider user identifier represented as a string.