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

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

Symfony2 OAuth2 Server Simple String Access Token Manager Bundle


README

Scrutinizer Code Quality Build Status HHVM Status PHP 7 ready

SensioLabsInsight

Latest Stable Version Total Downloads Latest Unstable Version License

This bundle will help you create and manage Access Tokens for your OAuth2 Server.

Access token provided by this bundle are simple strings. It means their is no signature or encryption algorithm, their value is just a random string.

It relies on the OAuth2 Interfaces Project.

The Release Process

The release process is described here.

Prerequisites

This bundle needs at least PHP 5.4 and Symfony v2.3.

It has been successfully tested using:

  • PHP: PHP 5.4 to PHP 5.6, PHP 7 and HHVM.
  • Symfony: v2.3.x to v2.7.x.

Installation

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

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

Enable the bundle

Enable the bundle in the kernel:

<?php
// app/AppKernel.php

public function registerBundles()
{
    $bundles = array(
        ...
        new SpomkyLabs\OAuth2ServerSimpleStringAccessTokenBundle\SpomkyLabsOAuth2ServerSimpleStringAccessTokenBundle(),
    );
}

How to use

See this page for more information.

Contributing

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

Licence

This bundle is release under MIT licence.