Skip to content
This repository has been archived by the owner on Aug 16, 2023. It is now read-only.

Swift Rewrite #67

Closed
calebd opened this issue Jul 20, 2014 · 7 comments
Closed

Swift Rewrite #67

calebd opened this issue Jul 20, 2014 · 7 comments

Comments

@calebd
Copy link
Owner

calebd commented Jul 20, 2014

I have the following goals for a new version of SimpleAuth that solves many of the issues we see today:

  • Swift
  • Strongly typed provider configurations
  • Make SimpleAuthProvider a subclass of NSOperation
  • The SimpleAuth class will maintain an instance of NSOperationQueue to ensure serial operations
  • Favor direct provider interaction over the indirection that is used today
  • Keep existing API (deprecated)
@ericaroy
Copy link

ericaroy commented Aug 7, 2014

I'm looking at trying to implement a provider for StockTwits, would it be wise to implement in Swift?

@calebd
Copy link
Owner Author

calebd commented Aug 24, 2014

Closing this in favor of implementing each of these individually without the language change.

@calebd calebd closed this as completed Aug 24, 2014
@sanjams2
Copy link

What is the swift implementation of the configuration method. I'm a beginner when it come to objective-c but have been using swift for a couple months. Im just confused on how to configure the Simple Auth with the dictionary I have created with client id and SimpleAythRedirectURIKey

Thanks

@calebd
Copy link
Owner Author

calebd commented Feb 19, 2015

Something like: SimpleAuth.configuration()["provider-name"] = [:]. Just a class method and a dictionary.

@JinkProject
Copy link

Going to do a Swift re-write of this when I have time. Has it been done before?

@ejpusa-zz
Copy link

Think most people are using this now: https://github.com/dongri/OAuthSwift
Don't think it's worth your time to re/write, unless for an academic exercise. OAuthSwift it's all done for you.

@JinkProject
Copy link

@ejpusa Awesome. Thanks!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants