The AppUser class represents a Chainlit App logged-in user.

Attributes

username
str

The username of the user.

role
Role

The role of the user.

tags
List[str]

A list of tags for tracking the user.

image
Optional[str]

A URL pointing to the user’s profile picture, if available.

provider
Optional[Provider]

The authentication provider for the user.