Home Assistant Unofficial Reference 2024.12.1
homeassistant.auth.auth_store Namespace Reference

Classes

class  AuthStore
 

Functions

models.Group _system_admin_group ()
 
models.Group _system_read_only_group ()
 
models.Group _system_user_group ()
 

Variables

int DEFAULT_SAVE_DELAY = 1
 
string GROUP_NAME_ADMIN = "Administrators"
 
string GROUP_NAME_READ_ONLY = "Read Only"
 
string GROUP_NAME_USER = "Users"
 
int INITIAL_LOAD_SAVE_DELAY = 300
 
string STORAGE_KEY = "auth"
 
int STORAGE_VERSION = 1
 

Detailed Description

Storage for auth models.

Function Documentation

◆ _system_admin_group()

models.Group homeassistant.auth.auth_store._system_admin_group ( )
private
Create system admin group.

Definition at line 610 of file auth_store.py.

◆ _system_read_only_group()

models.Group homeassistant.auth.auth_store._system_read_only_group ( )
private
Create read only group.

Definition at line 630 of file auth_store.py.

◆ _system_user_group()

models.Group homeassistant.auth.auth_store._system_user_group ( )
private
Create system user group.

Definition at line 620 of file auth_store.py.

Variable Documentation

◆ DEFAULT_SAVE_DELAY

int homeassistant.auth.auth_store.DEFAULT_SAVE_DELAY = 1

Definition at line 43 of file auth_store.py.

◆ GROUP_NAME_ADMIN

string homeassistant.auth.auth_store.GROUP_NAME_ADMIN = "Administrators"

Definition at line 30 of file auth_store.py.

◆ GROUP_NAME_READ_ONLY

string homeassistant.auth.auth_store.GROUP_NAME_READ_ONLY = "Read Only"

Definition at line 32 of file auth_store.py.

◆ GROUP_NAME_USER

string homeassistant.auth.auth_store.GROUP_NAME_USER = "Users"

Definition at line 31 of file auth_store.py.

◆ INITIAL_LOAD_SAVE_DELAY

int homeassistant.auth.auth_store.INITIAL_LOAD_SAVE_DELAY = 300

Definition at line 41 of file auth_store.py.

◆ STORAGE_KEY

string homeassistant.auth.auth_store.STORAGE_KEY = "auth"

Definition at line 29 of file auth_store.py.

◆ STORAGE_VERSION

int homeassistant.auth.auth_store.STORAGE_VERSION = 1

Definition at line 28 of file auth_store.py.