mirror of
https://github.com/OAuthSwift/OAuthSwift.git
synced 2026-04-27 05:05:51 +03:00
[GH-ISSUE #488] 'observeCallback' is inaccessible due to 'internal' protection level #320
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#320
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?
Originally created by @geertberkers on GitHub (Sep 3, 2018).
Original GitHub issue: https://github.com/OAuthSwift/OAuthSwift/issues/488
Description:
I want to use this library only to get the authorization code, but this is not possible (yet).
I saw the open functions so I want to override the authorize function, but when I do that, I'll get the following error: 'observeCallback' is inaccessible due to 'internal' protection level
I removed the following code from the override function, and used succes to return responseParameters (which contain authorization code)
OAuth Version:
OS (Please fill the version) :
Installation method:
Library version:
Xcode version:
9.3 (Swift 4.1)
9.0 (Swift 4.0)
9.0 (Swift 3.2)
8.x (Swift 3.x)
8.0 (Swift 2.3)
7.3.1
other:
objective c
@phimage commented on GitHub (Sep 3, 2018):
why not override
postOAuthAccessTokenWithRequestTokento get the code?and respond what you want
@geertberkers commented on GitHub (Sep 3, 2018):
Well, didn't think of that. Was focused on the authorize function...
Thanks, got a working solution ;)