mirror of
https://github.com/OAuthSwift/OAuthSwift.git
synced 2026-04-26 12:45:52 +03:00
[PR #238] [MERGED] Support for Device Flow Authentication #582
Labels
No labels
bug
cocoapod
duplicate
enhancement
feature-request
help wanted
help wanted
invalid
pull-request
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/OAuthSwift#582
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/OAuthSwift/OAuthSwift/pull/238
Author: @fabiomassimo
Created: 6/18/2016
Status: ✅ Merged
Merged: 7/7/2016
Merged by: @phimage
Base:
master← Head:master📝 Commits (5)
976c470Added 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.3e430c36Added new error code: authorisation pending3bff411Improved error parsing for request kicked off from the OAuthSwiftHTTPRequest144cb01Fixed error parsing6095c9aAdded convenience initialiser for a OAuthSwiftClient by passing a credential object.📊 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.