hass-core/homeassistant
Allen Porter 00b5d30e24
Add application credentials platform (#69148)
* Initial developer credentials scaffolding
- Support websocket list/add/delete
- Add developer credentials protocol from yaml config
- Handle OAuth credential registration and de-registration
- Tests for websocket and integration based registration

* Fix pydoc text

* Remove translations and update owners

* Update homeassistant/components/developer_credentials/__init__.py

Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>

* Update homeassistant/components/developer_credentials/__init__.py

Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>

* Remove _async_get_developer_credential

* Rename to application credentials platform

* Fix race condition and add import support

* Increase code coverage (92%)

* Increase test coverage 93%

* Increase test coverage (94%)

* Increase test coverage (97%)

* Increase test covearge (98%)

* Increase test coverage (99%)

* Increase test coverage (100%)

* Remove http router frozen comment

* Remove auth domain override on import

* Remove debug statement

* Don't import the same client id multiple times

* Add auth dependency for local oauth implementation

* Revert older oauth2 changes from merge

* Update homeassistant/components/application_credentials/__init__.py

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>

* Move config credential import to its own fixture

* Override the mock_application_credentials_integration fixture instead per test

* Update application credentials

* Add dictionary typing

* Use f-strings as per feedback

* Add additional structure needed for an MVP application credential

Add additional structure needed for an MVP, including a target
component Xbox

* Add websocket to list supported integrations for frontend selector

* Application credentials config

* Import xbox credentials

* Remove unnecessary async calls

* Update script/hassfest/application_credentials.py

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>

* Update script/hassfest/application_credentials.py

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>

* Update script/hassfest/application_credentials.py

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>

* Update script/hassfest/application_credentials.py

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>

* Import credentials with a fixed auth domain

Resolve an issue with compatibility of exisiting config entries when importing
client credentials

Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-04-30 08:06:43 -07:00
..
auth Disable no-self-use [pylint] (#70641) 2022-04-25 07:41:01 -07:00
backports Cleanup after pylint update (#68657) 2022-03-26 00:34:12 +01:00
components Add application credentials platform (#69148) 2022-04-30 08:06:43 -07:00
generated Add application credentials platform (#69148) 2022-04-30 08:06:43 -07:00
helpers Add application credentials platform (#69148) 2022-04-30 08:06:43 -07:00
scripts Remove EVENT_TIME_CHANGED and EVENT_TIMER_OUT_OF_SYNC (#69643) 2022-04-09 09:05:54 -10:00
util Improve typing [util.logging] (#70894) 2022-04-27 22:26:56 +02:00
__init__.py
__main__.py
block_async_io.py Add type ignore error codes [core] (#66773) 2022-02-17 23:09:22 -08:00
bootstrap.py Revert "Block peer certs on supervisor" (#67104) 2022-02-23 12:32:07 +01:00
config.py Adjust "default_config" comment in default config (#68679) 2022-03-28 09:03:34 -07:00
config_entries.py Improve typing for core add_job and run_job methods (#70702) 2022-04-25 23:50:01 +02:00
const.py Bump version to 2022.6.0dev0 (#70913) 2022-04-27 17:34:34 +02:00
core.py Reduce calls to asyncio.iscoroutine (#71090) 2022-04-29 21:24:26 -07:00
data_entry_flow.py Make initial group config flow step a menu (#68565) 2022-03-23 08:34:44 -07:00
exceptions.py
loader.py Add integration type (#68349) 2022-03-20 20:38:13 -07:00
package_constraints.txt Frontend bump 20220429.0 (#71085) 2022-04-29 16:09:08 -07:00
requirements.py
runner.py Update Mypy to 0.950 (#70948) 2022-04-27 20:49:54 -05:00
setup.py Highlight in logs it is a custom component when setup fails (#67559) 2022-03-03 15:03:03 -08:00
strings.json Sabnzbd config flow (#68138) 2022-04-26 23:09:10 -07:00