Home Assistant Unofficial Reference 2024.12.1
homeassistant.components.alexa.auth Namespace Reference

Classes

class  Auth
 

Variables

 _LOGGER = logging.getLogger(__name__)
 
dictionary LWA_HEADERS = {"Content-Type": "application/x-www-form-urlencoded;charset=UTF-8"}
 
string LWA_TOKEN_URI = "https://api.amazon.com/auth/o2/token"
 
int PREEMPTIVE_REFRESH_TTL_IN_SECONDS = 300
 
string STORAGE_EXPIRE_TIME = "expire_time"
 
string STORAGE_KEY = "alexa_auth"
 
int STORAGE_VERSION = 1
 

Detailed Description

Support for Alexa skill auth.

Variable Documentation

◆ _LOGGER

homeassistant.components.alexa.auth._LOGGER = logging.getLogger(__name__)
private

Definition at line 22 of file auth.py.

◆ LWA_HEADERS

dictionary homeassistant.components.alexa.auth.LWA_HEADERS = {"Content-Type": "application/x-www-form-urlencoded;charset=UTF-8"}

Definition at line 25 of file auth.py.

◆ LWA_TOKEN_URI

string homeassistant.components.alexa.auth.LWA_TOKEN_URI = "https://api.amazon.com/auth/o2/token"

Definition at line 24 of file auth.py.

◆ PREEMPTIVE_REFRESH_TTL_IN_SECONDS

int homeassistant.components.alexa.auth.PREEMPTIVE_REFRESH_TTL_IN_SECONDS = 300

Definition at line 27 of file auth.py.

◆ STORAGE_EXPIRE_TIME

string homeassistant.components.alexa.auth.STORAGE_EXPIRE_TIME = "expire_time"

Definition at line 30 of file auth.py.

◆ STORAGE_KEY

string homeassistant.components.alexa.auth.STORAGE_KEY = "alexa_auth"

Definition at line 28 of file auth.py.

◆ STORAGE_VERSION

int homeassistant.components.alexa.auth.STORAGE_VERSION = 1

Definition at line 29 of file auth.py.