[PR #151] [CLOSED] Adding Authorization Code Flow with Proof Key for Code Exchange (PKCE) #271

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

📋 Pull Request Information

Original PR: https://github.com/ramsayleung/rspotify/pull/151
Author: @martinmake
Created: 11/8/2020
Status: Closed

Base: masterHead: master


📝 Commits (1)

📊 Changes

3 files changed (+78 additions, -2 deletions)

View changed files

📝 Cargo.toml (+6 -1)
examples/pkce_oauth_tokens.rs (+59 -0)
📝 src/oauth2.rs (+13 -1)

📄 Description

I would start with a discussion about the user interface.
I've added an example for this feature so we can have the same context.

What do you think about it?

Should we use:

  • pub enum AuthorizationFlow to choose between Authorization Flows, or
  • builders/functions, or
  • should it be inferred from secret: Option<String> (won't scale well with other Authorization Flows)?

🔄 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/151 **Author:** [@martinmake](https://github.com/martinmake) **Created:** 11/8/2020 **Status:** ❌ Closed **Base:** `master` ← **Head:** `master` --- ### 📝 Commits (1) - [`904bab0`](https://github.com/ramsayleung/rspotify/commit/904bab0065fb3762ae3801d951dd731cc117dd8d) Initial draft ### 📊 Changes **3 files changed** (+78 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `Cargo.toml` (+6 -1) ➕ `examples/pkce_oauth_tokens.rs` (+59 -0) 📝 `src/oauth2.rs` (+13 -1) </details> ### 📄 Description I would start with a discussion about the user interface. I've added an example for this feature so we can have the same context. What do you think about it? Should we use: * `pub enum AuthorizationFlow` to choose between *Authorization Flows*, or * builders/functions, or * should it be inferred from `secret: Option<String>` (won't scale well with other *Authorization Flows*)? --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-27 20:24:03 +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#271
No description provided.