Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Method for setting access keys/bearer token needed #46

Open
Acorn221 opened this issue Aug 23, 2022 · 1 comment
Open

Method for setting access keys/bearer token needed #46

Acorn221 opened this issue Aug 23, 2022 · 1 comment
Labels
enhancement New feature or request

Comments

@Acorn221
Copy link

Hi, is there a reason there's no method to set access keys / _bearerToken (along with the time they were acquired)?

I'm using the ESP-32 Deep Sleep 'RTC_DATA_ATTR' variables, and that has a limit of 8kb ram as it is persistent through deep sleep. My problem is that I would rather not refresh the access key every time the ESP-32 wakes up from deep sleep if I can avoid it, as it causes the ESP32 to draw more power and creates some unnecessary requests. I could store the whole instance of the class in the 'RTC_DATA_ATTR' ram but that might be too much for it and it's not very efficient.

I was wondering whether or not I have missed something and if this was an intentional decision, otherwise I can make a PR to add this!

@witnessmenow
Copy link
Owner

witnessmenow commented Aug 23, 2022 via email

@witnessmenow witnessmenow changed the title Setting access keys Method for setting access keys/bearer token needed Mar 10, 2023
@witnessmenow witnessmenow added the enhancement New feature or request label Mar 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants