jsgoecke / tesla

Provides a wrapper around the API to easily query and command a Telsa car. As of now this has been used with a Model S, a Model X, and a Model 3.
MIT License
325 stars 72 forks source link

Use external oauth token souce for authentication #39

Closed andig closed 3 years ago

andig commented 3 years ago

This PR implements a pluggable, refreshable token source. It can be used with https://github.com/uhthomas/tesla. Motivation for the PR discussed in https://github.com/uhthomas/tesla_exporter/issues/7.

A temporary for implementing this and a number of other open PRs is at https://github.com/andig/tesla.

andig commented 3 years ago

Update this PR is not fully complete. Would be happy to update if there is interest for merging.