antyrace / oauth2-server
Oauth2服务器修改
0.1.0
2015-10-22 23:43 UTC
Requires
- php: >=5.5.9
- lucadegasperi/oauth2-server-laravel: 5.0.*
This package is not auto-updated.
Last update: 2024-10-02 17:08:27 UTC
README
在oauth2服务器中的一些修改
安装
在你的 config/oauth2.php
文件中的 'grant_types' 数组中更改
'\League\OAuth2\Server\Grant\PasswordGrant' '\AntyRace\OAuth2\Server\Grant\PasswordGrant'
'\League\OAuth2\Server\Grant\RefreshTokenGrant' '\AntyRace\OAuth2\Server\Grant\RefreshTokenGrant'
'token_type' => 'League\OAuth2\Server\TokenType\Bearer' 'token_type' => 'AntyRace\OAuth2\Server\TokenType\Bearer'