mirror of
https://github.com/home-assistant/developers.home-assistant.git
synced 2025-11-09 02:49:45 +00:00
Clarify Python library authentication page purpose (#2767)
Co-authored-by: askMartyn <martyn@rustyquill.com> Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
This commit is contained in:
@@ -3,6 +3,8 @@ title: "Python library: authentication"
|
||||
sidebar_label: Authentication
|
||||
---
|
||||
|
||||
This page is intended for general API development of a 3rd party library aiming to integrate a 3rd party API. See [Home Assistant REST API documentation](/docs/api/rest.md) for interacting with Home Assistant's API.
|
||||
|
||||
The Authentication part of your library is responsible for acquiring authentication and for making authenticated requests. It should not be aware of what is in the requests.
|
||||
|
||||
Authentication comes in many forms, but it generally boils down to that each request is accompanied by an `authorization` header which contains an access token. The access token is generally a string of random numbers/letters.
|
||||
|
||||
Reference in New Issue
Block a user