mirror of
https://github.com/OAuthSwift/OAuthSwift.git
synced 2026-04-26 20:55:57 +03:00
[GH-ISSUE #100] A few questions on specific usage of OAuthSwift #61
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#61
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 @damianesteban on GitHub (Aug 28, 2015).
Original GitHub issue: https://github.com/OAuthSwift/OAuthSwift/issues/100
I have OAuth all setup and working fine for my application's authorization but I have a few questions that I'm hoping someone can answer:
1.) Does OAuthSwift provide a way to store the token in the keychain? Does it do so by default?
2.) The authorization examples are great, but is there a basic example that shows how to make a GET request with the access token?
Thank you.
@phimage commented on GitHub (Aug 29, 2015):
1/ no keychain store, but there is encoding and decoding method into OAuthSwiftCredential
So you can archive into nsdata and store in keychain
I make a framework for preferences and there is keychain storing
https://github.com/phimage/Prephirences/
or with subscript and explicit archiving
2/ look into demo app
there is some get request with automatic use of credential in http header
but you can do it manually , see code like #99
@damianesteban commented on GitHub (Aug 29, 2015):
Thanks a lot, this helped tremendously.