mirror of
https://github.com/OAuthSwift/OAuthSwift.git
synced 2026-04-26 20:55:57 +03:00
[GH-ISSUE #281] Credentials are not cached #167
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#167
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 @ivanruizscm on GitHub (Sep 27, 2016).
Original GitHub issue: https://github.com/OAuthSwift/OAuthSwift/issues/281
I have to call oauthswift.authorizeWithCallbackURL everytime before make an api call, so the users is redirected to the google allow access page everytime i instantiate a new OAuth2Swift object
@phimage commented on GitHub (Sep 27, 2016):
could you edit your comment and fill the template
@phimage commented on GitHub (Sep 27, 2016):
please use master branch from now (swift 3 compatible)
function has been renamed to
oauthswift.authorize(withCallbackURLwhy did you create a new OAuth2Swift object, you must retain it and use it again and again
the credential is stored into it (
oauthswift.client.credential)@ivanruizscm commented on GitHub (Sep 27, 2016):
and if i leave the app should i ask for permission again?
@ivanruizscm commented on GitHub (Sep 27, 2016):
is this object serializable?
@ivanruizscm commented on GitHub (Sep 27, 2016):
maybe this is what i was looking for -> https://github.com/OAuthSwift/OAuthSwift/wiki/Store-credential
@phimage commented on GitHub (Sep 28, 2016):
yes this is the good page for that