vouchedfor/token-bundle 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

vouchedfor/token-bundle

Composer 安装命令:

composer require vouchedfor/token-bundle

包简介

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

README 文档

README

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

Installation

First, install it with composer:

composer require vouchedfor/token-bundle:dev-master

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

// 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:

// 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

统计信息

  • 总下载量: 6.87k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 1
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 1
  • Watchers: 3
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2017-03-02