Ratings | | Unique User Downloads | | Download Rankings |
Not yet rated by the users | | Total: 156 | | All time: 8,966 This week: 135 |
|
Description | | Author |
This package can be used to create an API that supports JSON Web tokens (JWT).
It provides an API that uses JWT for authentication of users that can access the API.
Separate configuration files allow configuring the several aspects of JWT. Innovation Award
 November 2019
Number 6 |
JSON Web Tokens, also known JWT, are used by APIs to implement stronger security means to interact between API clients and servers.
This package provides means to create an API based on the Laravel framework, implementing JWT to make the API more secure.
Manuel Lemos |
| |
 |
|
Innovation award
 Nominee: 7x |
|
Details
Lumen with JWT Authentication
Basically this is a starter kit for you to integrate Lumen with JWT Authentication
Quick Start
> Note:
- You can now use:
- `
POST /auth/login`
?> with email and password, obtain a JWT token
- `
GET /posts`
?> anyone gets a list of all the posts in the database
- `
POST /posts`
?> any authenticated user (using JWT, for instance) can create a post
- `
PUT /posts/:post_id `
?> the Owner of :post_id (authenticated using JWT, for instance) can modify the post
And remember, JWT requires you to provide the token as a header.
|
Applications that use this package |
|
No pages of applications that use this class were specified.
If you know an application of this package, send a message to the author to add a link here.