A user.
Definition at line 56 of file models.py.
◆ invalidate_cache()
| None homeassistant.auth.models.User.invalidate_cache |
( |
|
self | ) |
|
Invalidate permission and is_admin cache.
Definition at line 96 of file models.py.
◆ is_admin()
| bool homeassistant.auth.models.User.is_admin |
( |
|
self | ) |
|
Return if user is part of the admin group.
Definition at line 90 of file models.py.
◆ permissions()
| perm_mdl.AbstractPermissions homeassistant.auth.models.User.permissions |
( |
|
self | ) |
|
Return permissions object for user.
Definition at line 80 of file models.py.
◆ bool
| homeassistant.auth.models.User.bool |
|
static |
◆ default
| homeassistant.auth.models.User.default |
|
static |
◆ dict
| homeassistant.auth.models.User.dict |
|
static |
◆ eq
| homeassistant.auth.models.User.eq |
|
static |
◆ factory
| homeassistant.auth.models.User.factory |
|
static |
◆ False
| homeassistant.auth.models.User.False |
|
static |
◆ list
| homeassistant.auth.models.User.list |
|
static |
◆ None
| homeassistant.auth.models.User.None |
|
static |
◆ on_setattr
| homeassistant.auth.models.User.on_setattr |
|
static |
◆ order
| homeassistant.auth.models.User.order |
|
static |
◆ PermissionLookup
| homeassistant.auth.models.User.PermissionLookup |
|
static |
◆ str
| homeassistant.auth.models.User.str |
|
static |
The documentation for this class was generated from the following file: