expose method to store tokens in structure of HAWS
balloob opened this issue · comments
Make it possible for apps to create token structures as expected by this lib (to be returned from loadTokens
).
This is needed for Home Assistant so they can store tokens for the created user during onboarding:
- Create user during onboarding flow and generate tokens
- Write tokens of user to place where
loadTokens
find it - Call
getAuth
with appropriateloadTokens
-> user is logged in