Swiftpack.co - Package - vapor-community/Imperial

Imperial

Imperial is a Federated Login service, allowing you to easily integrate your Vapor applications with OAuth providers to handle your apps authentication.

Attribution

Author(s): @calebkleveter

License

All code contained in the Imperial package is under the MIT license agreement.

Github

link
Stars: 47
Help us keep the lights on

Dependencies

Releases

0.7.2 - Nov 18, 2018

Imperial 0.7.2

  • #20 Fix compiler warning in Google JWT Router

0.7.1 - Aug 18, 2018

JWT 3

Updated JWT package version to 3.0! Something else might have been fixed also 🤔. Not sure.

0.7.0 - Jun 6, 2018

Server-to-Server with Google

You can now do Server-to-Server auth with Google. No guide yet. You can roughly follow the other Google auth guide to get an idea of what you are supposed to do.

You can now get a token without hitting a route using:

FederatedServiceRouter(callback: "") { req, _ in req.makeResponse() }.fetchToken(from: request)

0.6.0 - Apr 2, 2018

Neo

Take the red pill. It's worth it.

0.5.3 - Mar 19, 2018

Vapor 3

Imperial and its documentation has been updated for Vapor 3 RC. Have fun!