spomky-labs/oauth2-server-simple-string-access-token

This package is abandoned and no longer maintained. The author suggests using the spomky-labs/oauth2-server-library package instead.

Simple String Access Token for OAuth2 Server

v5.0.0 2015-05-10 05:57 UTC

This package is not auto-updated.

Last update: 2015-08-17 12:04:40 UTC


README

Scrutinizer Code Quality Code Coverage

Build Status HHVM Status

SensioLabsInsight

Latest Stable Version Total Downloads Latest Unstable Version License

This library adds a new type of access token for OAuth2 Server: Simple string.

These access token are represented by a random string (charset used and length can be customized) and are, in general, stored and retrieved to be checked.

It relies on the OAuth2 Interfaces Project.

The Release Process

The release process is described here.

Prerequisites

This library needs at least PHP 5.4. It has been successfully tested using PHP 5.3 to PHP 5.6, PHP 7 and HHVM

Installation

The preferred way to install this library is to rely on Composer:

composer require "spomky-labs/oauth2-server-simple-string-access-token" "~5.0"

Extend the library

This library only contains the logic. You must extend all classes to define setters and getters.

Look at Extend classes for more information and examples.

How to use

Your classes are ready to use? Have a look at How to use to use your exception manager with an OAuth2 server.

Contributing

Requests for new features, bug fixed and all other ideas to make this library useful are welcome. Please follow these best practices.

Licence

This library is release under MIT licence.