Home Assistant Unofficial Reference
2024.12.1
application_credentials.py
Go to the documentation of this file.
1
"""application_credentials platform for Geocaching."""
2
3
from
homeassistant.components.application_credentials
import
ClientCredential
4
from
homeassistant.core
import
HomeAssistant
5
from
homeassistant.helpers
import
config_entry_oauth2_flow
6
7
from
.oauth
import
GeocachingOAuth2Implementation
8
9
10
async
def
async_get_auth_implementation
(
11
hass: HomeAssistant, auth_domain: str, credential: ClientCredential
12
) -> config_entry_oauth2_flow.AbstractOAuth2Implementation:
13
"""Return auth implementation."""
14
return
GeocachingOAuth2Implementation
(hass, auth_domain, credential)
homeassistant.components.geocaching.oauth.GeocachingOAuth2Implementation
Definition:
oauth.py:17
homeassistant.components.application_credentials
Definition:
__init__.py:1
homeassistant.components.geocaching.application_credentials.async_get_auth_implementation
config_entry_oauth2_flow.AbstractOAuth2Implementation async_get_auth_implementation(HomeAssistant hass, str auth_domain, ClientCredential credential)
Definition:
application_credentials.py:12
homeassistant.core
Definition:
core.py:1
homeassistant.helpers
Definition:
__init__.py:1
core
homeassistant
components
geocaching
application_credentials.py
Generated by
1.9.1