[PR #98] [MERGED] add functions to get access token and refresh token without cache. #240

Closed
opened 2026-02-27 20:23:55 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ramsayleung/rspotify/pull/98
Author: @ramsayleung
Created: 6/4/2020
Status: Merged
Merged: 6/5/2020
Merged by: @ramsayleung

Base: masterHead: ramsay/get_token_without_caching


📝 Commits (4)

  • 6517f84 add functions to get access token and refresh token without cache.
  • 92984d2 update gitignore and add examples.
  • 890a66d format code with cargo fmt.
  • f3cf73a fix clippy lints.

📊 Changes

9 files changed (+192 additions, -25 deletions)

View changed files

📝 .gitignore (+1 -1)
📝 Cargo.toml (+6 -1)
examples/blocking/get_access_token_without_cache.rs (+50 -0)
examples/get_access_token_without_cache.rs (+55 -0)
📝 src/blocking/oauth2.rs (+17 -11)
📝 src/blocking/util.rs (+21 -0)
📝 src/lib.rs (+1 -1)
📝 src/oauth2.rs (+20 -11)
📝 src/util.rs (+21 -0)

📄 Description

add a new feature to get access token and refresh token without saving token into cache_path, trying to complete this request: https://github.com/ramsayleung/rspotify/issues/96


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/ramsayleung/rspotify/pull/98 **Author:** [@ramsayleung](https://github.com/ramsayleung) **Created:** 6/4/2020 **Status:** ✅ Merged **Merged:** 6/5/2020 **Merged by:** [@ramsayleung](https://github.com/ramsayleung) **Base:** `master` ← **Head:** `ramsay/get_token_without_caching` --- ### 📝 Commits (4) - [`6517f84`](https://github.com/ramsayleung/rspotify/commit/6517f8400593df74950dcf2a6b0bbe82c0be992f) add functions to get access token and refresh token without cache. - [`92984d2`](https://github.com/ramsayleung/rspotify/commit/92984d2bccaa9d9170f5b7962f1dcc2411b43212) update gitignore and add examples. - [`890a66d`](https://github.com/ramsayleung/rspotify/commit/890a66dec2731ec662ccc6e8dbbf51339d18424f) format code with cargo fmt. - [`f3cf73a`](https://github.com/ramsayleung/rspotify/commit/f3cf73aa9482f42b1d36a60d652ef2fc0b8f705d) fix clippy lints. ### 📊 Changes **9 files changed** (+192 additions, -25 deletions) <details> <summary>View changed files</summary> 📝 `.gitignore` (+1 -1) 📝 `Cargo.toml` (+6 -1) ➕ `examples/blocking/get_access_token_without_cache.rs` (+50 -0) ➕ `examples/get_access_token_without_cache.rs` (+55 -0) 📝 `src/blocking/oauth2.rs` (+17 -11) 📝 `src/blocking/util.rs` (+21 -0) 📝 `src/lib.rs` (+1 -1) 📝 `src/oauth2.rs` (+20 -11) 📝 `src/util.rs` (+21 -0) </details> ### 📄 Description add a new feature to get access token and refresh token without saving token into `cache_path`, trying to complete this request: https://github.com/ramsayleung/rspotify/issues/96 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-27 20:23:55 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/rspotify#240
No description provided.