[PR #403] [CLOSED] Retrieving only authentication code by specifying response_type as code #624

Closed
opened 2026-03-03 16:49:47 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/OAuthSwift/OAuthSwift/pull/403
Author: @uiroshan
Created: 8/18/2017
Status: Closed

Base: masterHead: master


📝 Commits (1)

  • f916048 Retrieving only authentication code by specifying response_type as code #400

📊 Changes

1 file changed (+2 additions, -2 deletions)

View changed files

📝 Sources/OAuth2Swift.swift (+2 -2)

📄 Description

Fixes for enhancement #400

I made it open and changed the base class name to exchangeCodeForAccessToken. I thought method needs a better name so use the new name. But if you think it's not necessary or does not match with your naming conventions please let me know.

Gist link on how to use
https://gist.github.com/uiroshan/89f9baea0a2678955bc672bfcefbfebd


🔄 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/OAuthSwift/OAuthSwift/pull/403 **Author:** [@uiroshan](https://github.com/uiroshan) **Created:** 8/18/2017 **Status:** ❌ Closed **Base:** `master` ← **Head:** `master` --- ### 📝 Commits (1) - [`f916048`](https://github.com/OAuthSwift/OAuthSwift/commit/f916048be22ac79645fbeda6f6f73b2c356ff74d) Retrieving only authentication code by specifying response_type as code #400 ### 📊 Changes **1 file changed** (+2 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `Sources/OAuth2Swift.swift` (+2 -2) </details> ### 📄 Description Fixes for enhancement #400 I made it open and changed the base class name to exchangeCodeForAccessToken. I thought method needs a better name so use the new name. But if you think it's not necessary or does not match with your naming conventions please let me know. Gist link on how to use https://gist.github.com/uiroshan/89f9baea0a2678955bc672bfcefbfebd --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-03 16:49:47 +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/OAuthSwift#624
No description provided.