[GH-ISSUE #270] Twitter OAuth on iOS #158

Closed
opened 2026-03-03 16:46:13 +03:00 by kerem · 2 comments
Owner

Originally created by @alexanderkhitev on GitHub (Aug 19, 2016).
Original GitHub issue: https://github.com/OAuthSwift/OAuthSwift/issues/270

Hello! I need to register on our server via twitter. I made registration with help of OAuth. When we make any request on our server we check our token is active, if our token is expired we make resign on our server and I need to resign in Twitter session, I do logout, but session is active. Android team do it with help

TwitterCore.getInstance().getSessionManager().clearActiveSession();
TwitterCore.getInstance().logOut();
. How can I do it on iOS? I use Swift Please, help me.

Originally created by @alexanderkhitev on GitHub (Aug 19, 2016). Original GitHub issue: https://github.com/OAuthSwift/OAuthSwift/issues/270 Hello! I need to register on our server via twitter. I made registration with help of OAuth. When we make any request on our server we check our token is active, if our token is expired we make resign on our server and I need to resign in Twitter session, I do logout, but session is active. Android team do it with help TwitterCore.getInstance().getSessionManager().clearActiveSession(); TwitterCore.getInstance().logOut(); . How can I do it on iOS? I use Swift Please, help me.
kerem closed this issue 2026-03-03 16:46:13 +03:00
Author
Owner

@phimage commented on GitHub (Aug 19, 2016):

Maybe this can help https://github.com/OAuthSwift/OAuthSwift/wiki/Logout
Then sometime api provider provide a request to delete the token remotely

<!-- gh-comment-id:241014005 --> @phimage commented on GitHub (Aug 19, 2016): Maybe this can help https://github.com/OAuthSwift/OAuthSwift/wiki/Logout Then sometime api provider provide a request to delete the token remotely
Author
Owner

@alexanderkhitev commented on GitHub (Aug 20, 2016):

@phimage thank you so much

<!-- gh-comment-id:241213363 --> @alexanderkhitev commented on GitHub (Aug 20, 2016): @phimage thank you so much
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/OAuthSwift#158
No description provided.