UserEntry#

class hyd.backend.user.models.UserEntry(**kwargs)[source]#

Methods

__init__(**kwargs)

A simple constructor that allows initialization from kwargs.

check_scope_permission(*, scope)

Check if the given scope is permitted for the given session.

check_token_project_permission(*, project_id)

Attributes

created_at

hashed_password

id

is_admin

is_disabled

login_token_entries

metadata

registry

session_token_entry

token_entries

updated_at

username

check_scope_permission(*, scope: str) bool[source]#

Check if the given scope is permitted for the given session.

created_at: Mapped[datetime]#
updated_at: Mapped[datetime.datetime | None]#