notegame/authservice-module

There is no license information available for the latest version (dev-master) of this package.

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

dev-master 2016-02-21 22:49 UTC

This package is not auto-updated.

Last update: 2025-10-12 01:08:12 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
email 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
email String
first_name String
last_name String
and another...

GET /api/auth/logout

Developer Guide

Events

  • UserActivationWasCreated
  • UserWasChangedPassword
  • UserWasActivated

Middleware

  • auth.token : TokenAuthenticate