adamlundrigan / ldc-oauth2-crypto-token
为 zf-oauth2 提供的 JWT CryptoToken 配置
2.0.0
2015-03-28 16:37 UTC
Requires
- bshaffer/oauth2-server-php: >=1.6,<2.0
- zfcampus/zf-oauth2: 1.*
Requires (Dev)
- fabpot/php-cs-fixer: @stable
- mockery/mockery: 0.*
- phpunit/phpunit: 4.*
- zendframework/zend-servicemanager: 2.*
This package is not auto-updated.
Last update: 2024-09-24 04:05:28 UTC
README
如何操作?
-
使用 Composer 安装模块
composer require adamlundrigan/ldc-oauth2-crypto-token:~2.0
注意:如果您的应用程序需要
bshaffer/oauth2-server-php
版本 < 1.6,请使用本模块的 V1 版本。 -
在您的
application.config.php
文件中启用所需的模块- ZF\OAuth2
- LdcOAuth2CryptoToken
-
您需要一个 RSA 公钥/私钥对。如果您还没有,请参考此页面的"创建公钥和私钥对"部分。
-
将配置文件
ldc-oauth2-crypto-token.local.php.dist
复制到config/autoload