2017 © Pedro Peláez
 

asgard-module authservice-module

image

notegame/authservice-module

  • Sunday, February 21, 2016
  • by notegame
  • Repository
  • 1 Watchers
  • 0 Stars
  • 2 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

AuthService Module

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

The Versions

21/02 2016

dev-master

9999999-dev

  Sources   Download

The Requires

 

The Development Requires

by theeradech dechasit