Skip to content

Releases: vapor-community/Imperial

v0.4.0

20 Jan 21:11
12dab70
Compare
Choose a tag to compare

Vapor 3

Now ported to Vapor 3! Use version 0.3.0 if you are on Vapor 2.

You can now conform to FederatedCreatable so you can create an instance of a model from a service and store it in a session:

let user = request.create(User.self, from: .github)
let user = request.fetch(User.self)

(This is how it is supposed to work. Haven't tested it yet 😉.)

v0.3.0

14 Nov 20:13
Compare
Choose a tag to compare

Google Auth

Federated Login with Google is now implemented!

v0.2.0

13 Nov 18:02
Compare
Choose a tag to compare

Middleware

Imperial Middleware is now ready, allowing you to protect routes that require authentication and to redirect a user if they try to access a protected route.

v0.1.0

13 Nov 18:01
Compare
Choose a tag to compare

GitHub Auth

Federated Login with GitHub is now available!