bootoffav/laravel-b24-auth
Composer 安装命令:
composer require bootoffav/laravel-b24-auth
包简介
Bitrix24 laravel Oauth middleware
README 文档
README
This is middleware for lavarel that ensures the user has bitrix24 authorization token with every request he/she sends to application.
#Installation step1 You need to provide hostname, client and secret within your .env file. B24_HOSTNAME=https://[yourhostname].bitrix24.ru B24_CLIENT_ID= B24_CLIENT_SECRET=
step 2 Add Middleware to your app/Http/Kernel.php at middlewareGroups array for 'web' \bootoffav\laravel\B24\Auth::class
#Usage
B24 credentials are stored at session, and accessible through either $request object or global session() helper function
统计信息
- 总下载量: 60
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2017-01-17