softonic/oauth2-provider 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

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

softonic/oauth2-provider

最新稳定版本:1.3.1

Composer 安装命令:

composer require softonic/oauth2-provider

包简介

Softonic OAuth2 provider

README 文档

README

Latest Version Software License Build Status Total Downloads Average time to resolve an issue Percentage of issues still open

This package provides Softonic OAuth 2.0 support for the PHP League's OAuth 2.0 Client.

Installation

You can require the last version of the package using composer

composer require softonic/oauth2-provider

Configuration

<?php

$options = [
    'clientId' => 'myClient',
    'clientSecret' => 'mySecret'
];

$client = new Softonic\OAuth2\Client\Provider\Softonic($options);

$token = $client->getAccessToken('client_credentials', ['scope' => 'myscope']);

Testing

softonic/oauth2-provider has a PHPUnit test suite, and a coding style compliance test suite using PHP CS Fixer.

To run the tests, run the following command from the project folder.

$ make tests

To open a terminal in the dev environment:

$ make debug

License

The Apache 2.0 license. Please see LICENSE for more information.

统计信息

  • 总下载量: 63.58k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 2
  • 点击次数: 2
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 2
  • Watchers: 7
  • Forks: 1
  • 开发语言: PHP

其他信息

  • 授权协议: Apache-2.0
  • 更新时间: 2017-08-16