This is the Linux app named jwt-auth whose latest release can be downloaded as 2.0.0Release.zip. It can be run online in the free hosting provider OnWorks for workstations.
Download and run online this app named jwt-auth with OnWorks for free.
Follow these instructions in order to run this app:
- 1. Downloaded this application in your PC.
- 2. Enter in our file manager https://www.onworks.net/myfiles.php?username=XXXXX with the username that you want.
- 3. Upload this application in such filemanager.
- 4. Start the OnWorks Linux online or Windows online emulator or MACOS online emulator from this website.
- 5. From the OnWorks Linux OS you have just started, goto our file manager https://www.onworks.net/myfiles.php?username=XXXXX with the username that you want.
- 6. Download the application, install it and run it.
SCREENSHOTS
Ad
jwt-auth
DESCRIPTION
jwt-auth provides a simple means of authentication within Laravel using JSON Web Tokens (spec). There are several ways to create a token within the package. There are simple ways to do it, and more advanced methods if you want greater control. The most common way to create a token would be to authenticate the user via their login credentials, and if successful return a token corresponding to that user. You can also skip user authentication and just pass in a User object. Once a user has logged in with their credentials, then the next step would be to make a subsequent request, with the token, to retrieve the users' details, so you can show them as being logged in. To make authenticated requests via http using the built in methods, you will need to set an authorization header. If you don't like the idea of catching mulitple exceptions inline, then you are free to add a global exception handler with Laravel.
Features
- Attempt to authenticate a user via some credentials
- Log a user in and return a jwt for them
- Log the user out, which will invalidate the current token and unset the authenticated user
- Get the currently authenticated user or throw an exception
- Refresh a token, which invalidates the current one
- Get a token based on a given user's id
Programming Language
PHP
Categories
This is an application that can also be fetched from https://sourceforge.net/projects/jwt-auth.mirror/. It has been hosted in OnWorks in order to be run online in an easiest way from one of our free Operative Systems.