mirror of
https://github.com/OAuthSwift/OAuthSwift.git
synced 2026-04-26 20:55:57 +03:00
[GH-ISSUE #102] Example of custom OAuthSwiftURLHandlerType #66
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#66
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 @acoleman-apc on GitHub (Sep 7, 2015).
Original GitHub issue: https://github.com/OAuthSwift/OAuthSwift/issues/102
I would like to handle an oAuth request strictly in code - not in safari or a web view. Is there an example of this type of custom OAuthSwiftURLHandlerType that I might be able to see?
Or is there perhaps a OAuthSwiftOpenURLInternally class that I have missed?
Thanks
@phimage commented on GitHub (Sep 8, 2015):
No there is not, and that's not the work of a OAuth API to provide this because each website have its own page to login, the parameters name, the security etc...
You want to receive in your custom
OAuthSwiftURLHandlerTypethe url provided by websiteThen get the page programmatically(maybe with alamofire), make a POST to login with the good parameters because you already know an unique the user/password, and don't let user provide one
please close