Skip to content

anthonycastelli/Vapor-JWTAuthorization

Folders and files

NameName
Last commit message
Last commit date
Nov 12, 2016
Nov 12, 2016
Nov 12, 2016
Nov 12, 2016
Apr 27, 2017
Nov 12, 2016
Nov 12, 2016
Apr 19, 2017
Nov 12, 2016
Apr 19, 2017
Nov 12, 2016
Nov 12, 2016

Repository files navigation

Vapor JWT Template

This can totally be used a template if you choose so, but it has everything I need and what most people would need to get everything up and running with Vapor and JWT authentication for an API. Feel free to submit a PR if anyone has any better solutions for anything I have.

What has been implemented

  • User registration/authentication
  • Authorization with the JWT token
  • Current user fetching

The JWT token has a lifespan of 5 minutes and is fully signed.

If anyone has any questions, I hang out in the #authentication channel on the Vapor Slack group.

📖 Documentation

Visit the Vapor web framework's documentation for instructions on how to use this package.

💧 Community

Join the welcoming community of fellow Vapor developers in slack.

🔧 Compatibility

This package has been tested on macOS and Ubuntu.