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

Classes

class  Data
 
class  HassAuthProvider
 
class  HassLoginFlow
 
class  InvalidAuth
 
class  InvalidUser
 
class  InvalidUsername
 

Functions

dict[str, Any] _disallow_id (dict[str, Any] conf)
 
HassAuthProvider async_get_provider (HomeAssistant hass)
 

Variables

 CONFIG_SCHEMA = vol.All(AUTH_PROVIDER_SCHEMA, _disallow_id)
 
string STORAGE_KEY = "auth_provider.homeassistant"
 
int STORAGE_VERSION = 1
 

Detailed Description

Home Assistant auth provider.

Function Documentation

◆ _disallow_id()

dict[str, Any] homeassistant.auth.providers.homeassistant._disallow_id ( dict[str, Any]  conf)
private
Disallow ID in config.

Definition at line 27 of file homeassistant.py.

◆ async_get_provider()

HassAuthProvider homeassistant.auth.providers.homeassistant.async_get_provider ( HomeAssistant  hass)
Get the provider.

Definition at line 39 of file homeassistant.py.

Variable Documentation

◆ CONFIG_SCHEMA

homeassistant.auth.providers.homeassistant.CONFIG_SCHEMA = vol.All(AUTH_PROVIDER_SCHEMA, _disallow_id)

Definition at line 35 of file homeassistant.py.

◆ STORAGE_KEY

string homeassistant.auth.providers.homeassistant.STORAGE_KEY = "auth_provider.homeassistant"

Definition at line 24 of file homeassistant.py.

◆ STORAGE_VERSION

int homeassistant.auth.providers.homeassistant.STORAGE_VERSION = 1

Definition at line 23 of file homeassistant.py.