OTPLoginableUser

class OTPLoginableUser[source]

A user entry in the multi-user selection response.

tenant: Tenant | None

The tenant.

can_login: bool

Whether the user can login outside their LMS/SSO.

type: Literal['normal']

The tag of this class.

name: str | None

The fullname of the user. This might contain a first and last name, however this is not guaranteed. This might be None if the PII for this user cannot be retrieved anymore.

is_test_student: bool

Is this user a test student.

id: int

The is the id of this user

username: str

The username of this user.

tenant_id: str | None

The tenant of the user