Edward Jiang
Edward Jiang
Cool -- makes sense. In that case, Vapor does allow you to pass in your own Turnstile instance, or pass in your own Realm. https://github.com/vapor/vapor/blob/master/Sources/Auth/Authentication/AuthMiddleware.swift#L33 If you want to interact...
Just to let you know, I've personally met members of all teams and they're all dedicated to making server-side Swift a thing, and have decent funding =] So I wouldn't...
Hey @nawar, you should be able to access the `uniqueID` by calling `subject.authDetails?.account?.uniqueID`. What would you want to do by subclassing `Subject`?
Gotcha. If you want the user to be logged in after registration, I would call `register` and `login` in quick succession. That would set the "authDetails". For instance: https://github.com/stormpath/Turnstile-Perfect-Example/blob/master/Sources/main.swift#L74 The...
Yeah, this makes sense. Let me look into this more tomorrow and see what we can do =]
This sounds like a Foundation bug... might want to report it at bugs.swift.org if you can find a way to reproduce it. Try making requests with this HTTP Client: https://github.com/stormpath/Turnstile/blob/master/Sources/TurnstileWeb/URLSession+Turnstile.swift#L16...
Since this is not causing any major issues, we're going to leave this until Foundation fixes this.
Yeah, that sounds like a good approach to this =]
I think Tanner meant something more along the likes of: ``` Swift public extension SessionManager { public func createSession(account: Account) -> String { return try? createSession(account: account) ?? "" }...
Awesome, thanks @hhanesand! Also, don't worry if Travis complains about the Facebook test -- that one will always fail if it's done from external repos.