yii2-oauth2-server:具有MAC令牌和令牌吊销支持的OAuth 2.0 Server for Yii 2.0

时间:2021-05-28 20:37:03
【文件属性】:
文件名称:yii2-oauth2-server:具有MAC令牌和令牌吊销支持的OAuth 2.0 Server for Yii 2.0
文件大小:41KB
文件格式:ZIP
更新时间:2021-05-28 20:37:03
PHP Yii 2.0 OAuth 2.0服务器 chervand/yii2-oauth2-server是库的Yii 2.0 PHP Framework集成, 库实现了适用于PHP的符合标准的 。 它使用JWT Bearer令牌来支持规范中定义的所有授予。 chervand/yii2-oauth2-server还提供了令牌支持,原始库不支持此功能,因为MAC令牌规范目前仍在起草中,自2014年以来未进行更新,因此这是一项颇具实验性的功能。 它还包括基于令牌撤销实现。 安装 应用数据库迁移 ./yii migrate --migrationPath="@vendor/chervand/yii2-oauth2-server/migrations" 生成公钥和私钥 请参阅页面。 与您的用户整合 要将OAuth 2.0服务器与用户数据库集成,应为user组件的identityClass实现Leagu
【文件预览】:
yii2-oauth2-server-master
----components()
--------ResponseTypes()
--------Exception()
--------AuthorizationValidators()
--------Mac.php(4KB)
--------Psr7()
--------Repositories()
--------AuthMethods()
--------Events()
--------Server()
--------Grant()
----models()
--------ScopeQuery.php(193B)
--------RefreshTokenQuery.php(170B)
--------Client.php(5KB)
--------EntityQueryTrait.php(640B)
--------EntityTrait.php(506B)
--------TokenQueryTrait.php(718B)
--------AccessToken.php(6KB)
--------ClientQuery.php(1KB)
--------AccessTokenQuery.php(467B)
--------RefreshToken.php(2KB)
--------Scope.php(1KB)
----LICENSE(1KB)
----composer.json(859B)
----Module.php(9KB)
----README.md(5KB)
----rbac()
--------ScopePermission.php(587B)
--------OwnedQueryInterface.php(138B)
--------GrantedRule.php(1KB)
--------OwnedQueryTrait.php(785B)
--------OwnedRule.php(759B)
--------OwnedInterface.php(307B)
--------Permission.php(2KB)
----migrations()
--------m160920_072449_auth.php(6KB)
----controllers()
--------AuthorizeController.php(372B)
--------RevokeController.php(2KB)
--------TokenController.php(2KB)

网友评论

  • 用户下载后在一定时间内未进行评价,系统默认好评。