Home Assistant Unofficial Reference 2024.12.1
homeassistant.helpers.config_entry_oauth2_flow.OAuth2AuthorizeCallbackView Class Reference
Inheritance diagram for homeassistant.helpers.config_entry_oauth2_flow.OAuth2AuthorizeCallbackView:
[legend]
Collaboration diagram for homeassistant.helpers.config_entry_oauth2_flow.OAuth2AuthorizeCallbackView:
[legend]

Public Member Functions

web.Response get (self, web.Request request)
 
- Public Member Functions inherited from homeassistant.helpers.http.HomeAssistantView
web.Response json_message (self, str message, HTTPStatus|int status_code=HTTPStatus.OK, str|None message_code=None, LooseHeaders|None headers=None)
 
None register (self, HomeAssistant hass, web.Application app, web.UrlDispatcher router)
 

Static Public Attributes

string name = "auth:external:callback"
 
bool requires_auth = False
 
 url = AUTH_CALLBACK_PATH
 
- Static Public Attributes inherited from homeassistant.helpers.http.HomeAssistantView
bool cors_allowed = False
 
 None
 
bool requires_auth = True
 

Additional Inherited Members

- Static Public Member Functions inherited from homeassistant.helpers.http.HomeAssistantView
Context context (web.Request request)
 
web.Response json (Any result, HTTPStatus|int status_code=HTTPStatus.OK, LooseHeaders|None headers=None)
 

Detailed Description

OAuth2 Authorization Callback View.

Definition at line 453 of file config_entry_oauth2_flow.py.

Member Function Documentation

◆ get()

web.Response homeassistant.helpers.config_entry_oauth2_flow.OAuth2AuthorizeCallbackView.get (   self,
web.Request  request 
)
Receive authorization code.

Definition at line 460 of file config_entry_oauth2_flow.py.

Member Data Documentation

◆ name

string homeassistant.helpers.config_entry_oauth2_flow.OAuth2AuthorizeCallbackView.name = "auth:external:callback"
static

Definition at line 458 of file config_entry_oauth2_flow.py.

◆ requires_auth

bool homeassistant.helpers.config_entry_oauth2_flow.OAuth2AuthorizeCallbackView.requires_auth = False
static

Definition at line 456 of file config_entry_oauth2_flow.py.

◆ url

homeassistant.helpers.config_entry_oauth2_flow.OAuth2AuthorizeCallbackView.url = AUTH_CALLBACK_PATH
static

Definition at line 457 of file config_entry_oauth2_flow.py.


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