|
| str | _get_suggested_id (self, dict[str, str] info) |
| |
| dict[str, str] | _process_create_data (self, dict[str, str] data) |
| |
| dict[str, str] | _update_data (self, dict[str, str] item, dict[str, str] update_data) |
| |
Application credential collection stored in storage.
Definition at line 82 of file __init__.py.
◆ _get_suggested_id()
| str homeassistant.components.application_credentials.ApplicationCredentialsStorageCollection._get_suggested_id |
( |
|
self, |
|
|
dict[str, str] |
info |
|
) |
| |
|
private |
Suggest an ID based on the config.
Definition at line 96 of file __init__.py.
◆ _process_create_data()
| dict[str, str] homeassistant.components.application_credentials.ApplicationCredentialsStorageCollection._process_create_data |
( |
|
self, |
|
|
dict[str, str] |
data |
|
) |
| |
|
private |
Validate the config is valid.
Definition at line 87 of file __init__.py.
◆ _update_data()
| dict[str, str] homeassistant.components.application_credentials.ApplicationCredentialsStorageCollection._update_data |
( |
|
self, |
|
|
dict[str, str] |
item, |
|
|
dict[str, str]
|
update_data |
|
) |
| |
|
private |
Return a new updated data object.
Definition at line 100 of file __init__.py.
◆ async_client_credentials()
| dict[str, ClientCredential] homeassistant.components.application_credentials.ApplicationCredentialsStorageCollection.async_client_credentials |
( |
|
self, |
|
|
str |
domain |
|
) |
| |
Return ClientCredentials in storage for the specified domain.
Definition at line 129 of file __init__.py.
◆ async_delete_item()
| None homeassistant.components.application_credentials.ApplicationCredentialsStorageCollection.async_delete_item |
( |
|
self, |
|
|
str |
item_id |
|
) |
| |
Delete item, verifying credential is not in use.
Definition at line 106 of file __init__.py.
◆ async_import_item()
| None homeassistant.components.application_credentials.ApplicationCredentialsStorageCollection.async_import_item |
( |
|
self, |
|
|
dict[str, str] |
info |
|
) |
| |
Import an yaml credential if it does not already exist.
Definition at line 122 of file __init__.py.
◆ CREATE_SCHEMA
| homeassistant.components.application_credentials.ApplicationCredentialsStorageCollection.CREATE_SCHEMA = vol.Schema(CREATE_FIELDS) |
|
static |
The documentation for this class was generated from the following file:
- core/homeassistant/components/application_credentials/__init__.py