notegame / authservice-module
Installs: 2
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Type:asgard-module
pkg:composer/notegame/authservice-module
Requires
- php: >=5.5
- asgardcms/core-module: ~1.0
- composer/installers: ~1.0
- hisorange/browser-detect: 2.*
Requires (Dev)
- orchestra/testbench: ~3.1
- phpunit/phpunit: ~4.0
This package is not auto-updated.
Last update: 2025-10-26 01:21:32 UTC
README
API DOC
Guest Only
POST /api/auth/login
| Attribute | Type | Example |
|---|---|---|
| login | String |
|
| password | String |
|
| device_id | String |
|
| device_os | String |
example: android, ios, windows |
POST /api/auth/loginByToken
| Attribute | Type | Example |
|---|---|---|
| token | String |
|
| device_id | String |
|
| device_os | String |
example: android, ios, windows |
POST /api/auth/register
| Attribute | Type |
|---|---|
| login | String |
| password | String |
| password_confirmation | String |
POST /api/auth/activation
| Attribute | Type |
|---|---|
| ref_id | String |
| code | String |
POST /api/auth/forget_password
| Attribute | Type |
|---|---|
String |
Auth Only
GET /api/auth/profile
POST /api/auth/change_password
| Attribute | Type |
|---|---|
| current_password | String |
| password | String |
POST /api/auth/update
| Attribute | Type |
|---|---|
String |
|
| first_name | String |
| last_name | String |
| and another... |
GET /api/auth/logout
Developer Guide
Events
- UserActivationWasCreated
- UserWasChangedPassword
- UserWasActivated
Middleware
- auth.token : TokenAuthenticate