1 """application_credentials platform the Electric Kiwi integration."""
10 from .const
import OAUTH2_AUTHORIZE, OAUTH2_TOKEN
11 from .oauth2
import ElectricKiwiLocalOAuth2Implementation
15 hass: HomeAssistant, auth_domain: str, credential: ClientCredential
16 ) -> config_entry_oauth2_flow.AbstractOAuth2Implementation:
17 """Return auth implementation."""
27 """Return authorization server."""
29 authorize_url=OAUTH2_AUTHORIZE,
30 token_url=OAUTH2_TOKEN,
35 """Return description placeholders for the credentials dialog."""
37 "more_info_url":
"https://www.home-assistant.io/integrations/electric_kiwi/"
config_entry_oauth2_flow.AbstractOAuth2Implementation async_get_auth_implementation(HomeAssistant hass, str auth_domain, ClientCredential credential)
AuthorizationServer async_get_authorization_server(HomeAssistant hass)
dict[str, str] async_get_description_placeholders(HomeAssistant hass)