Home Assistant Unofficial Reference 2024.12.1
homeassistant.auth.providers.insecure_example.ExampleAuthProvider Class Reference
Inheritance diagram for homeassistant.auth.providers.insecure_example.ExampleAuthProvider:
[legend]
Collaboration diagram for homeassistant.auth.providers.insecure_example.ExampleAuthProvider:
[legend]

Public Member Functions

LoginFlow async_login_flow (self, AuthFlowContext|None context)
 

Detailed Description

Example auth provider based on hardcoded usernames and passwords.

Definition at line 36 of file insecure_example.py.

Member Function Documentation

◆ async_login_flow()

LoginFlow homeassistant.auth.providers.insecure_example.ExampleAuthProvider.async_login_flow (   self,
AuthFlowContext | None  context 
)
Return a flow to login.

Definition at line 39 of file insecure_example.py.


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