mirror of
https://github.com/ramsayleung/rspotify.git
synced 2026-04-26 07:55:55 +03:00
[GH-ISSUE #446] AuthCodeSpotify with token and refresh #148
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#148
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?
Originally created by @fragsalat on GitHub (Nov 14, 2023).
Original GitHub issue: https://github.com/ramsayleung/rspotify/issues/446
Hey there, thanks for the nice work first of all.
Is your feature request related to a problem? Please describe.
I would like to have the ability to create an instance of AuthCodeSpotify with token and client credentials passed. Right now only either is possible through ::new() or ::from_token(). I also can't create an instance and update props later on. Creating an instance with ::from_token() and passing a token which is outdated tries to call refresh_token, but the instance is missing credentials.
Describe the solution you'd like
I see multiple options
Describe alternatives you've considered
Forking the library and working with the fork
Additional context
@ramsayleung commented on GitHub (Jan 9, 2024):
I think this feature request has been implemented.
@fragsalat commented on GitHub (Jan 9, 2024):
Yes, thanks a lot :)