mirror of
https://github.com/OAuthSwift/OAuthSwift.git
synced 2026-04-26 12:45:52 +03:00
[PR #568] [MERGED] Add support for expired Twitter tokens #673
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#673
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/568
Author: @deyton
Created: 1/23/2020
Status: ✅ Merged
Merged: 1/24/2020
Merged by: @phimage
Base:
master← Head:twitter-expired-token📝 Commits (1)
7354314Add support for expired Twitter tokens📊 Changes
2 files changed (+18 additions, -0 deletions)
View changed files
📝
OAuthSwiftTests/OAuthSwiftErrorTest.swift(+14 -0)📝
Sources/NSError+OAuthSwift.swift(+4 -0)📄 Description
See https://developer.twitter.com/en/docs/basics/response-codes
Twitter sends back errors in an errors array in the body, but it doesn't use any of the currently-supported method of indicating an expired or invalid token.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.