mirror of
https://github.com/ramsayleung/rspotify.git
synced 2026-04-26 07:55:55 +03:00
[PR #453] [MERGED] Add option to create AuthCodeSpotify with token and refresh #464
Labels
No labels
Stale
bug
discussion
enhancement
good first issue
good first issue
help wanted
pull-request
question
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/rspotify#464
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/ramsayleung/rspotify/pull/453
Author: @kevmeyer
Created: 1/7/2024
Status: ✅ Merged
Merged: 1/8/2024
Merged by: @ramsayleung
Base:
master← Head:km_refresh_fixes📝 Commits (2)
13c34eaAuthCode: Fail in refetch, if no token present2ef1637AuthCode: Add constructor with token and config📊 Changes
1 file changed (+23 additions, -2 deletions)
View changed files
📝
src/auth_code.rs(+23 -2)📄 Description
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.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.