2017 © Pedro Peláez
 

symfony-bundle token-bundle

Provides support for the use of an external token encoder/decoder

image

vouchedfor/token-bundle

Provides support for the use of an external token encoder/decoder

  • Monday, March 6, 2017
  • by vouchedfor
  • Repository
  • 1 Watchers
  • 1 Stars
  • 2,484 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 3 % Grown

The README.md

Token Bundle

Provides support for the use of an external token encoder/decoder, (*1)

Installation

First, install it with composer:, (*2)

composer require vouchedfor/token-bundle:dev-master

Then, add the following in your AppKernel bundles (assuming 'new DataDog\AuditBundle\DataDogAuditBundle(),' has been added previously)., (*3)

// app/AppKernel.php
public function registerBundles()
{
    $bundles = array(
        ...
        new VouchedFor\TokenBundle\VouchedForTokenBundle(),
        ...
    );
    ...
}

Add the url of the endpoint responsible for encoding/decoding tokens to config.yml. For example:, (*4)

// app/config/config.yml
vouched_for_token:
    url: 'http://token-local.vouchedfor.co.uk/v2/token/'

License

The Token Bundle is free to use and is licensed under the MIT license, (*5)

The Versions

06/03 2017

dev-master

9999999-dev https://github.com/vouchedfor/TokenBundle

Provides support for the use of an external token encoder/decoder

  Sources   Download

MIT