定制 olssonm/oauth2-nibe 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

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

Latest Version on Packagist Software License Build Status

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

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 1
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2021-04-01