mirror of
https://github.com/ramsayleung/rspotify.git
synced 2026-04-25 23:45:52 +03:00
[PR #207] [CLOSED] [WIP] Auth restructure #313
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#313
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/207
Author: @marioortizmanero
Created: 4/29/2021
Status: ❌ Closed
Base:
separate-crates← Head:auth-rewrite📝 Commits (10+)
05f906bmoving http to a new crate68d625frspotify-http now working more or lessbbbb3afmoving endpoints to respective traits1a4487bhit a wall withimpl61edf5dit compiles... but at what cost82f1825formatb47f273numerous fixes1107624some fixes3a0bb68Merge with master02c4c0cformat📊 Changes
46 files changed (+3877 additions, -3977 deletions)
View changed files
📝
.github/workflows/ci.yml(+7 -29)➖
.travis.yml(+0 -25)📝
Cargo.toml(+27 -36)➕
examples/auth_code.rs(+55 -0)➕
examples/auth_code_pkce.rs(+47 -0)📝
examples/client_creds.rs(+10 -14)➖
examples/current_user_recently_played.rs(+0 -51)📝
examples/oauth_tokens.rs(+7 -12)📝
examples/pagination_async.rs(+6 -36)📝
examples/pagination_manual.rs(+6 -36)📝
examples/pagination_sync.rs(+6 -36)➖
examples/track.rs(+0 -42)➖
examples/tracks.rs(+0 -42)📝
examples/ureq/device.rs(+6 -36)📝
examples/ureq/me.rs(+6 -36)📝
examples/ureq/search.rs(+17 -47)📝
examples/ureq/seek_track.rs(+6 -36)📝
examples/webapp/src/main.rs(+71 -78)📝
examples/with_refresh_token.rs(+11 -26)➕
rspotify-http/Cargo.toml(+54 -0)...and 26 more files
📄 Description
TODO:
derive_buildercompletely from the library.Configstruct with things liketoken_cachedortoken_refreshingfor #135. The former is implemented here, but the latter is left as a TODO.album.rsintoclient_credentials.rs, teaching about the authentication process instead.rspotify-httpNote that this only really separates the
rspotify-httpcrate, as I don't think moving the auth logic to a separate crate is really worth it. We can discuss it but I'm not sure it's necessary at all.Closes #207
Closes #208
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.