olssonm/oauth2-nibe
最新稳定版本:v1.1
Composer 安装命令:
composer require olssonm/oauth2-nibe
包简介
NIBE Uplink OAuth 2.0 Client Provider for The PHP League OAuth2-Client
README 文档
README
This package provides NIBE Uplink OAuth 2.0 support for the PHP League's OAuth 2.0 Client.
Installation
To install, use composer:
composer require olssonm/oauth2-nibe
Usage
Usage is the same as The League's OAuth client, using Olssonm\OAuth2\Client\Provider\Nibe as the provider.
Authorization Code Flow
$provider = new Olssonm\OAuth2\Client\Provider\Nibe([ 'clientId' => 'XXXXXX', 'clientSecret' => 'XXXXXX', 'redirectUri' => 'https://my.example.com/your-redirect-url/' ]);
For further usage of this package please refer to the core package documentation on "Authorization Code Grant".
Resource owner information
NIBE does not support access to any personal information of the authorizing resource owner. As such, this package does not support the getResourceOwner method documented in the core package.
This package will throw a Olssonm\OAuth2\Client\Provider\Exception\ResourceOwnerException exception if you attempt to use this method.
License
The MIT License (MIT). Please see License File for more information.
© 2021 Marcus Olsson.
统计信息
- 总下载量: 26
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2021-04-01