Home Assistant Unofficial Reference 2024.12.1
homeassistant.components.neato.api.NeatoImplementation Class Reference
Inheritance diagram for homeassistant.components.neato.api.NeatoImplementation:
[legend]
Collaboration diagram for homeassistant.components.neato.api.NeatoImplementation:
[legend]

Public Member Functions

str async_generate_authorize_url (self, str flow_id)
 
dict[str, Any] extra_authorize_data (self)
 
- Public Member Functions inherited from homeassistant.components.application_credentials.AuthImplementation
None __init__ (self, HomeAssistant hass, str auth_domain, ClientCredential credential, AuthorizationServer authorization_server)
 
str name (self)
 

Detailed Description

Neato implementation of LocalOAuth2Implementation.

We need this class because we have to add client_secret
and scope to the authorization request.

Definition at line 40 of file api.py.

Member Function Documentation

◆ async_generate_authorize_url()

str homeassistant.components.neato.api.NeatoImplementation.async_generate_authorize_url (   self,
str  flow_id 
)
Generate a url for the user to authorize.

We must make sure that the plus signs are not encoded.

Definition at line 52 of file api.py.

◆ extra_authorize_data()

dict[str, Any] homeassistant.components.neato.api.NeatoImplementation.extra_authorize_data (   self)
Extra data that needs to be appended to the authorize url.

Definition at line 48 of file api.py.


The documentation for this class was generated from the following file: