laravel-5-oauth-client:qq, weibo, weixin oauth for laravel 5

时间:2024-06-20 12:55:17
【文件属性】:

文件名称:laravel-5-oauth-client:qq, weibo, weixin oauth for laravel 5

文件大小:8KB

文件格式:ZIP

更新时间:2024-06-20 12:55:17

PHP

laravel-5-oauth-client qq、微博、微信 oauth for laravel 5 QQ 调用示例 1.获取QQ验证的用户确认网址 $ oauth = new OAuthClient (); $ qq = $ oauth -> get ( 'qq' ); echo $ qq -> getAuthorizationUrl (); 2.QQ问题处理 $ oauth = new OAuthClient (); $ provider = $ oauth -> get ( 'qq' ); // Try to get an access token (using the authorization code grant) $ token = $ provider -> getAccessToken ( 'authorization_code' , [ 'code' =


【文件预览】:
laravel-5-oauth-client-master
----src()
--------OAuthClient.php(797B)
--------Services()
--------Facade()
--------OAuthClientServiceProvider.php(726B)
--------Provider()
----config()
--------config.php(534B)
----README.md(1KB)
----composer.json(406B)

网友评论