ramsayleung / rspotify

Spotify Web API SDK implemented on Rust
MIT License
632 stars 121 forks source link

Add option to create AuthCodeSpotify with token and refresh #453

Closed kevmeyer closed 8 months ago

kevmeyer commented 8 months ago

Description

Fixes: https://github.com/ramsayleung/rspotify/issues/446

Motivation and Context

Being able to restore a token from cache and also refreshing it.

Dependencies

Type of change

How has this been tested?

Use token from cache and refresh it successfully.

Is this change properly documented?

Example code was not changed.

ramsayleung commented 8 months ago

Thanks for your contribution :)