api-skeletons/zf-oauth2-doctrine-console
最新稳定版本:2.0.1
Composer 安装命令:
composer require api-skeletons/zf-oauth2-doctrine-console
包简介
Console management of an Apigility Doctrine OAuth2 server
README 文档
README
Versions
Version 1.x is for php 5.5 to 7.0. Version 2.0 and up is for PHP 7.1 and up.
About
This repository provides console routes to manage a headless OAuth2 server.
Installation
Installation of this module uses composer. For composer documentation, please refer to getcomposer.org.
$ php composer.phar require api-skeletons/zf-oauth2-doctrine-console "*"
Add this module to your application's configuration:
'modules' => array( ... 'ZF\OAuth2\Doctrine\Console', ),
Console Routes
-
oauth2:client:createCreate a new client with or without a user. -
oauth2:client:updateUpdate a client. -
oauth2:client:deleteDelete a client. -
oauth2:client:listList all clients. -
oauth2:scope:createCreate a scope. -
oauth2:scope:updateUpdate a scope. -
oauth2:scope:deleteDelete a scope. -
oauth2:scope:listList all scopes. -
oauth2:public-key:createCreate the public/private key record for the given client. This data is used to sign JWT access tokens. Each client may have only one key pair. -
oauth2:public-key:deleteRemove the key pair public key from a client. -
oauth2:jwt:createCreate a new JWT for a given client. This JWT will be used by an oauth2 connection requesting a grant_type ofurn:ietf:params:oauth:grant-type:jwt-bearer. Creating the JWT puts the oauth2 connection request's public key in place in the OAuth2 tables. -
oauth2:jwt:deleteDelete a JWT. -
oauth2:jwt:listList all JWT.
For the connecting side of JWT, zf-oauth2-client provides a command line tool to generate a JWT reqeust. See also http://bshaffer.github.io/oauth2-server-php-docs/grant-types/jwt-bearer/
统计信息
- 总下载量: 83.18k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 2
- 点击次数: 3
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2015-10-17