About refresh tokens
Instead of communicating with Tesla using your email or password, Tessie uses a refresh token, which is more secure.
A refresh token is a long string of randomized characters. They are part of the OAuth standard, which is the standardized account linking protocol on the internet.
When you sign in with Tesla, Tesla provides Tessie a refresh token automatically.
Generating a token