[PR #238] [MERGED] Support for Device Flow Authentication #582

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

📋 Pull Request Information

Original PR: https://github.com/OAuthSwift/OAuthSwift/pull/238
Author: @fabiomassimo
Created: 6/18/2016
Status: Merged
Merged: 7/7/2016
Merged by: @phimage

Base: masterHead: master


📝 Commits (5)

📊 Changes

4 files changed (+42 additions, -4 deletions)

View changed files

📝 OAuthSwift/OAuth2Swift.swift (+14 -0)
📝 OAuthSwift/OAuthSwift.swift (+1 -0)
📝 OAuthSwift/OAuthSwiftClient.swift (+4 -0)
📝 OAuthSwift/OAuthSwiftHTTPRequest.swift (+23 -4)

📄 Description

Summary

Add support for new grant type: device 1.0

Why

Due to devices with limited capabilities this grant type makes it possible to implement OAuth 2.0 authentication flow easier.


🔄 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/238 **Author:** [@fabiomassimo](https://github.com/fabiomassimo) **Created:** 6/18/2016 **Status:** ✅ Merged **Merged:** 7/7/2016 **Merged by:** [@phimage](https://github.com/phimage) **Base:** `master` ← **Head:** `master` --- ### 📝 Commits (5) - [`976c470`](https://github.com/OAuthSwift/OAuthSwift/commit/976c470fa223effe491127eb7634db071bc0d62d) Added support to request credential via grant type http://oauth.net/grant_type/device/1.0 as specified in https://tools.ietf.org/html/draft-ietf-oauth-v2-01#section-3.5.3 - [`e430c36`](https://github.com/OAuthSwift/OAuthSwift/commit/e430c365bcded1511002fe77ab1b1c264b3d8d22) Added new error code: authorisation pending - [`3bff411`](https://github.com/OAuthSwift/OAuthSwift/commit/3bff41134426e0d95a7b72032df56896fb7799d7) Improved error parsing for request kicked off from the OAuthSwiftHTTPRequest - [`144cb01`](https://github.com/OAuthSwift/OAuthSwift/commit/144cb0128616f9b21b78f7c70969e94453a4f218) Fixed error parsing - [`6095c9a`](https://github.com/OAuthSwift/OAuthSwift/commit/6095c9a4299addada739a5e279f18d6518eafc63) Added convenience initialiser for a OAuthSwiftClient by passing a credential object. ### 📊 Changes **4 files changed** (+42 additions, -4 deletions) <details> <summary>View changed files</summary> 📝 `OAuthSwift/OAuth2Swift.swift` (+14 -0) 📝 `OAuthSwift/OAuthSwift.swift` (+1 -0) 📝 `OAuthSwift/OAuthSwiftClient.swift` (+4 -0) 📝 `OAuthSwift/OAuthSwiftHTTPRequest.swift` (+23 -4) </details> ### 📄 Description # Summary Add support for new grant type: [device 1.0](https://tools.ietf.org/html/draft-ietf-oauth-v2-01#section-3.5.3) # Why Due to devices with limited capabilities this grant type makes it possible to implement OAuth 2.0 authentication flow easier. --- <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:33 +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#582
No description provided.