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

Functions

dict[str, str] async_redact_auth_data (Mapping[Any, Any] mapping)
 
dict[str, str] async_redact_lwa_params (dict[str, str] lwa_params)
 

Variables

string STORAGE_ACCESS_TOKEN = "access_token"
 
string STORAGE_REFRESH_TOKEN = "refresh_token"
 
dictionary TO_REDACT_AUTH = {"correlationToken", "token"}
 
dictionary TO_REDACT_LWA
 

Detailed Description

Diagnostics helpers for Alexa.

Function Documentation

◆ async_redact_auth_data()

dict[str, str] homeassistant.components.alexa.diagnostics.async_redact_auth_data ( Mapping[Any, Any]  mapping)
React auth data.

Definition at line 32 of file diagnostics.py.

◆ async_redact_lwa_params()

dict[str, str] homeassistant.components.alexa.diagnostics.async_redact_lwa_params ( dict[str, str]  lwa_params)
Redact lwa_params.

Definition at line 26 of file diagnostics.py.

Variable Documentation

◆ STORAGE_ACCESS_TOKEN

string homeassistant.components.alexa.diagnostics.STORAGE_ACCESS_TOKEN = "access_token"

Definition at line 12 of file diagnostics.py.

◆ STORAGE_REFRESH_TOKEN

string homeassistant.components.alexa.diagnostics.STORAGE_REFRESH_TOKEN = "refresh_token"

Definition at line 13 of file diagnostics.py.

◆ TO_REDACT_AUTH

dictionary homeassistant.components.alexa.diagnostics.TO_REDACT_AUTH = {"correlationToken", "token"}

Definition at line 22 of file diagnostics.py.

◆ TO_REDACT_LWA

dictionary homeassistant.components.alexa.diagnostics.TO_REDACT_LWA
Initial value:
1 = {
2  CONF_CLIENT_ID,
3  CONF_CLIENT_SECRET,
4  STORAGE_ACCESS_TOKEN,
5  STORAGE_REFRESH_TOKEN,
6 }

Definition at line 15 of file diagnostics.py.