Download the PHP package devzyj/php-oauth2-server without Composer
On this page you can find all versions of the php package devzyj/php-oauth2-server. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package php-oauth2-server
php-oauth2-server
PHP OAuth2 Server
Installation
or add
Usage
/authorize?response_type=xxx
/token?grant_type=xxx
- Authorization Code
- Implicit
- Password
- Client Credentials
- Refresh Token
- Validate Access Token
Interfaces
需要实现的接口。
- devzyj\oauth2\server\interfaces\AccessTokenEntityInterface
- devzyj\oauth2\server\interfaces\AccessTokenRepositoryInterface
- devzyj\oauth2\server\interfaces\AuthorizationCodeEntityInterface
- devzyj\oauth2\server\interfaces\AuthorizationCodeRepositoryInterface
- devzyj\oauth2\server\interfaces\ClientEntityInterface
- devzyj\oauth2\server\interfaces\ClientRepositoryInterface
- devzyj\oauth2\server\interfaces\RefreshTokenEntityInterface
- devzyj\oauth2\server\interfaces\RefreshTokenRepositoryInterface
- devzyj\oauth2\server\interfaces\ScopeEntityInterface
- devzyj\oauth2\server\interfaces\ScopeRepositoryInterface
- devzyj\oauth2\server\interfaces\UserEntityInterface
- devzyj\oauth2\server\interfaces\UserRepositoryInterface
- devzyj\oauth2\server\interfaces\ServerRequestInterface 不强制要求实现该接口,只需要实例中包函接口中的方法。
Traits
实现了接口中的一些方法。
- devzyj\oauth2\server\traits\AccessTokenEntityTrait
- devzyj\oauth2\server\traits\AccessTokenRepositoryTrait
- devzyj\oauth2\server\traits\AuthorizationCodeEntityTrait
- devzyj\oauth2\server\traits\AuthorizationCodeRepositoryTrait
- devzyj\oauth2\server\traits\RefreshTokenEntityTrait
- devzyj\oauth2\server\traits\RefreshTokenRepositoryTrait
Generating public and private keys
Usaging Code Challenge
All versions of php-oauth2-server with dependencies
PHP Build Version
Package Version
Requires
php Version
^5.5|^7.0
paragonie/random_compat Version >=2
lcobucci/jwt Version ^3.2.5
defuse/php-encryption Version ^2.1.0
paragonie/random_compat Version >=2
lcobucci/jwt Version ^3.2.5
defuse/php-encryption Version ^2.1.0
The package devzyj/php-oauth2-server contains the following files
Loading the files please wait ....