2017 © Pedro Peláez
 

library aspen-user-api

API module for the ASPEN framework to manage users and authentication.

image

helllomatt/aspen-user-api

API module for the ASPEN framework to manage users and authentication.

  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 7 Versions
  • 0 % Grown

The README.md

ASPEN User API

This is an API used to allow for user management using the ASPEN framework. Users can:, (*1)

  • Register new accounts
  • Activate accounts
  • Reset passwords via request
  • Log in via OAuth2 or Session
  • Update information (when logged in)
  • Change their password (when logged in)

How to install

There's two parts: firstly install the package, secondly set up the database., (*2)

Installing the package:, (*3)

composer require helllomatt/aspen-user-api

Setting up the database:

  1. Navigate to the package .../vendor/helllomatt/aspen-user-api
  2. In the root folder you'll find db.sql
  3. Import db.sql into your database

Code updates

In your index.php file there are two changes that need to be made., (*4)

  1. Add session_start() under require 'vendor/autoload.php' (if you plan to use session based auth)
  2. Add vendor/helllomatt/aspen-user-api to the manager's load() array

After that, you're ready to use the API., (*5)

Running tests

Tests require an actual database connection., (*6)

Modify the phpunit.xml file to reflect your database setup for running tests., (*7)

The Versions

25/07 2017

dev-master

9999999-dev

API module for the ASPEN framework to manage users and authentication.

  Sources   Download

MIT

The Requires

 

The Development Requires

api auth management oauth2 users aspen

09/05 2017

1.0

1.0.0.0

API module for the ASPEN framework to manage users and authentication.

  Sources   Download

MIT

The Requires

 

The Development Requires

api auth management oauth2 users aspen

23/02 2017

0.4.1

0.4.1.0

API module for the ASPEN framework to manage users and authentication.

  Sources   Download

MIT

The Requires

 

The Development Requires

api auth management oauth2 users aspen

16/02 2017

0.4

0.4.0.0

API module for the ASPEN framework to manage users and authentication.

  Sources   Download

MIT

The Requires

 

The Development Requires

api auth management oauth2 users aspen

09/02 2017

0.3

0.3.0.0

API module for the ASPEN framework to manage users and authentication.

  Sources   Download

MIT

The Requires

 

The Development Requires

api auth management oauth2 users aspen

09/02 2017

0.2

0.2.0.0

API module for the ASPEN framework to manage users and authentication.

  Sources   Download

MIT

The Requires

 

The Development Requires

api auth management oauth2 users aspen

09/02 2017

0.1

0.1.0.0

API module for the ASPEN framework to manage users and authentication.

  Sources   Download

MIT

The Requires

 

The Development Requires

api auth management oauth2 users aspen