Public Attributes | |
| DOMAIN | |
| external_data | |
| flow_impl | |
Public Attributes inherited from homeassistant.config_entries.ConfigFlow | |
| source | |
Public Attributes inherited from homeassistant.data_entry_flow.FlowHandler | |
| deprecated_show_progress | |
Static Public Attributes | |
| string | DOMAIN = "" |
| int | VERSION = 1 |
Static Public Attributes inherited from homeassistant.data_entry_flow.FlowHandler | |
| Any | |
| bool | deprecated_show_progress = False |
| HomeAssistant | |
| string | init_step = "init" |
| int | MINOR_VERSION = 1 |
| None | |
| str | |
| int | VERSION = 1 |
Additional Inherited Members | |
Static Public Member Functions inherited from homeassistant.config_entries.ConfigFlow | |
| OptionsFlow | async_get_options_flow (ConfigEntry config_entry) |
Static Public Member Functions inherited from homeassistant.data_entry_flow.FlowHandler | |
| None | async_setup_preview (HomeAssistant hass) |
Handle a config flow.
Definition at line 230 of file config_entry_oauth2_flow.py.
| None homeassistant.helpers.config_entry_oauth2_flow.AbstractOAuth2FlowHandler.__init__ | ( | self | ) |
Instantiate config flow.
Definition at line 237 of file config_entry_oauth2_flow.py.
| str homeassistant.helpers.config_entry_oauth2_flow.AbstractOAuth2FlowHandler.async_generate_authorize_url | ( | self | ) |
Generate a url for the user to authorize.
Definition at line 258 of file config_entry_oauth2_flow.py.
| config_entries.ConfigFlowResult homeassistant.helpers.config_entry_oauth2_flow.AbstractOAuth2FlowHandler.async_oauth_create_entry | ( | self, | |
| dict | data | ||
| ) |
Create an entry for the flow. Ok to override if you want to fetch extra info or even add another step.
Reimplemented in homeassistant.components.weheat.config_flow.OAuth2FlowHandler.
Definition at line 374 of file config_entry_oauth2_flow.py.
| None homeassistant.helpers.config_entry_oauth2_flow.AbstractOAuth2FlowHandler.async_register_implementation | ( | cls, | |
| HomeAssistant | hass, | ||
| LocalOAuth2Implementation | local_impl | ||
| ) |
Register a local implementation.
Definition at line 390 of file config_entry_oauth2_flow.py.
| config_entries.ConfigFlowResult homeassistant.helpers.config_entry_oauth2_flow.AbstractOAuth2FlowHandler.async_step_auth | ( | self, | |
| dict[str, Any] | None | user_input = None |
||
| ) |
Create an entry for auth.
Definition at line 296 of file config_entry_oauth2_flow.py.
| config_entries.ConfigFlowResult homeassistant.helpers.config_entry_oauth2_flow.AbstractOAuth2FlowHandler.async_step_authorize_rejected | ( | self, | |
| None | data = None |
||
| ) |
Step to handle flow rejection.
Definition at line 365 of file config_entry_oauth2_flow.py.
| config_entries.ConfigFlowResult homeassistant.helpers.config_entry_oauth2_flow.AbstractOAuth2FlowHandler.async_step_creation | ( | self, | |
| dict[str, Any] | None | user_input = None |
||
| ) |
Create config entry from external data.
Definition at line 324 of file config_entry_oauth2_flow.py.
| config_entries.ConfigFlowResult homeassistant.helpers.config_entry_oauth2_flow.AbstractOAuth2FlowHandler.async_step_pick_implementation | ( | self, | |
| dict | None | user_input = None |
||
| ) |
Handle a flow start.
Definition at line 263 of file config_entry_oauth2_flow.py.
| config_entries.ConfigFlowResult homeassistant.helpers.config_entry_oauth2_flow.AbstractOAuth2FlowHandler.async_step_user | ( | self, | |
| dict[str, Any] | None | user_input = None |
||
| ) |
Handle a flow start.
Reimplemented from homeassistant.config_entries.ConfigFlow.
Reimplemented in homeassistant.components.ondilo_ico.config_flow.OndiloIcoOAuth2FlowHandler, and homeassistant.components.lametric.config_flow.LaMetricFlowHandler.
Definition at line 383 of file config_entry_oauth2_flow.py.
| dict homeassistant.helpers.config_entry_oauth2_flow.AbstractOAuth2FlowHandler.extra_authorize_data | ( | self | ) |
Extra data that needs to be appended to the authorize url.
Reimplemented in homeassistant.components.weheat.config_flow.OAuth2FlowHandler, homeassistant.components.ondilo_ico.config_flow.OndiloIcoOAuth2FlowHandler, and homeassistant.components.lametric.config_flow.LaMetricFlowHandler.
Definition at line 254 of file config_entry_oauth2_flow.py.
| logging.Logger homeassistant.helpers.config_entry_oauth2_flow.AbstractOAuth2FlowHandler.logger | ( | self | ) |
Return logger.
Reimplemented in homeassistant.components.weheat.config_flow.OAuth2FlowHandler, homeassistant.components.toon.config_flow.ToonFlowHandler, homeassistant.components.point.config_flow.OAuth2FlowHandler, homeassistant.components.ondilo_ico.config_flow.OndiloIcoOAuth2FlowHandler, homeassistant.components.lametric.config_flow.LaMetricFlowHandler, and homeassistant.components.geocaching.config_flow.GeocachingFlowHandler.
Definition at line 250 of file config_entry_oauth2_flow.py.
|
static |
Definition at line 233 of file config_entry_oauth2_flow.py.
| homeassistant.helpers.config_entry_oauth2_flow.AbstractOAuth2FlowHandler.DOMAIN |
Definition at line 239 of file config_entry_oauth2_flow.py.
| homeassistant.helpers.config_entry_oauth2_flow.AbstractOAuth2FlowHandler.external_data |
Definition at line 302 of file config_entry_oauth2_flow.py.
| homeassistant.helpers.config_entry_oauth2_flow.AbstractOAuth2FlowHandler.flow_impl |
Definition at line 270 of file config_entry_oauth2_flow.py.
|
static |
Definition at line 235 of file config_entry_oauth2_flow.py.