mirror of
https://github.com/OAuthSwift/OAuthSwift.git
synced 2026-04-26 12:45:52 +03:00
[GH-ISSUE #155] Can you keep the entire HTTP response in the postOAuthRequestTokenWithCallbackURL? #94
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#94
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 @SokichiFujita on GitHub (Dec 12, 2015).
Original GitHub issue: https://github.com/OAuthSwift/OAuthSwift/issues/155
I would like to use the entire HTTP response of access token endpoint in the
authorizeWithCallbackURLofOAuth1Swift. ButpostOAuthRequestTokenWithCallbackURLdrops a lot of information from it.In spite of Twitter returns
user_idandscreen_namewithaccess_tokenandaccess_token_secret,postOAuthRequestTokenWithCallbackURLmethod only passaccess_tokenandaccess_token_secret. Another information is dropped. I thinkuser_idorscreen_nameare also important for apps.I want to use following success handler:
Current success handler:
How do you think about this idea?
@phimage commented on GitHub (Dec 12, 2015):
Did you look master branch head code in OAuthSwift.swift?
Someone make a PR to add to TokenSuccessHandler 'parameters'
Maybe in this dictionnary there is the information you looking for
@SokichiFujita commented on GitHub (Dec 12, 2015):
Thank you! #152 fixed this issue, as you mentioned.
parametershas the information that I need.