Download the PHP package diplodocker/auth-service without Composer
On this page you can find all versions of the php package diplodocker/auth-service. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download diplodocker/auth-service
More information about diplodocker/auth-service
Files in diplodocker/auth-service
Download diplodocker/auth-service
More information about diplodocker/auth-service
Files in diplodocker/auth-service
Vendor diplodocker
Package auth-service
Short Description Laravel JWT auth service package
License MIT
Package auth-service
Short Description Laravel JWT auth service package
License MIT
Please rate this library. Is it a good library?
Informations about the package auth-service
About
Laravel JWT auth service package – this is just a wrapper over a tymon/jwt-auth
package that includes services, controllers and a factory.
Contains:
- Controllers
- Routes
- Services
- Requests
- Factory
Install
Configure User
model
- Implement
Diplodocker\Services\Contracts\AuthorizationInterface
- Use
Diplodocker\Services\Concerns\CanUseAuthorizationTokens
(or implement methods from trait) - Add
TABLE_NAME
andATTR_EMAIL
constants toUser
model
Bind interface
- Open (or create)
AppServiceProvider
orBindServiceProvider
- Bind interface to the model in
boot
method
Example:
Configure auth
config
Run command
Routes
Method | URI | Route | Required params |
---|---|---|---|
GET |
auth/check |
auth-service.check |
none |
POST |
auth/login |
auth-service.login |
email , password |
GET |
auth/logout |
auth-service.logout |
none |
POST |
auth/register |
auth-service.register |
email , password |
All versions of auth-service with dependencies
PHP Build Version
Package Version
The package diplodocker/auth-service contains the following files
Loading the files please wait ....