mirror of
https://github.com/OAuthSwift/OAuthSwift.git
synced 2026-04-26 12:45:52 +03:00
[PR #169] [CLOSED] Allow for invalidating notification observers on OAuthSwift objects #546
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#546
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/169
Author: @ghost
Created: 1/8/2016
Status: ❌ Closed
Base:
master← Head:master📝 Commits (2)
fdbbc62Added support for invalidating existing requests in case something goes wrongcc090f8Fix compile error due to unwrapped optional📊 Changes
1 file changed (+8 additions, -0 deletions)
View changed files
📝
OAuthSwift/OAuthSwift.swift(+8 -0)📄 Description
Currently in OAuthSwift it doesn't seem to be possible to retry an OAuth connection. If you attempt to use a brand new OAuthSwift object, the old notifications still fire as there's no way to clean them up.
This addition enables these notification observers to be cleaned up from the old OAuth object before attempting to use another one.
I'd welcome any other suggestions if this is not ideal, or if there's another way to completely retry an OAuth connection without any existing data from the last connection attempt making its way through.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.