syntelix / oidc-relying-party-bundle
OpenID Connect Relying Party Bundle
dev-master / dev-master
2017-10-09 06:45 UTC
Requires
- php: >=7.0
- gree/jose: ~2.0
- kriswallsmith/buzz: ~0.7
- symfony/symfony: >=3.2
Requires (Dev)
- php-coveralls/php-coveralls: ^1.0
- phpunit/phpunit: ^6.3
This package is not auto-updated.
Last update: 2020-06-12 20:05:50 UTC
README
Syntelix OIDC Relying Party Bundle
使用OAuth代码流与OpenID Connect提供者集成。
此包遵循OIDC 基本客户端实现指南。
要求
- PHP 7.0+
- Symfony 3.3+
安装
步骤 1: 下载包
打开命令行,进入您的项目目录,然后执行以下命令以下载此包的最新稳定版本
$ composer require syntelix/oidc-relying-party-bundle dev-master
此命令要求您全局安装Composer,如Composer文档中的安装章节中所述。
步骤 2: 启用包
然后,通过将其添加到项目app/AppKernel.php
文件中注册的包列表中来启用该包
<?php // app/AppKernel.php // ... class AppKernel extends Kernel { public function registerBundles() { $bundles = array( // ... new Syntelix\Bundle\OidcRelyingPartyBundle\SyntelixOidcRelyingPartyBundle(), ); // ... } // ... }
文档
致谢
此包是https://github.com/waldo2188/OpenIdConnectRelyingPartyBundle的分支。