get Valid Access Token
Returns a valid access token, refreshing it when necessary.
Return
Bearer access token to use in Spotify Web API requests.
Parameters
leeway Seconds
Safety window in seconds before actual expiration when the token is treated as expired.
auto Refresh
Whether to automatically execute Refresh Token flow when the current token is missing or expired.