1 """application_credentials platform for nest."""
12 from .api
import GoogleHybridAuth
15 oauth2client.GOOGLE_AUTH_URI, oauth2client.GOOGLE_TOKEN_URI
20 hass: HomeAssistant, auth_domain: str, credential: ClientCredential
21 ) -> config_entry_oauth2_flow.AbstractOAuth2Implementation:
22 """Return auth implementation."""
27 """Return description placeholders for the credentials dialog."""
29 "oauth_consent_url": (
30 "https://console.cloud.google.com/apis/credentials/consent"
32 "more_info_url":
"https://www.home-assistant.io/integrations/google/",
33 "oauth_creds_url":
"https://console.cloud.google.com/apis/credentials",
config_entry_oauth2_flow.AbstractOAuth2Implementation async_get_auth_implementation(HomeAssistant hass, str auth_domain, ClientCredential credential)
dict[str, str] async_get_description_placeholders(HomeAssistant hass)