定制 vatsim/oauth2-vatsim 二次开发

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

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

vatsim/oauth2-vatsim

Composer 安装命令:

composer require vatsim/oauth2-vatsim

包简介

VATSIM OAuth 2.0 Client Provider for The PHP League OAuth2-Client

README 文档

README

Build Status License Latest Stable Version

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

Requirements

To use this package, it will be necessary to have a VATSIM Connect client ID and client secret.

Please follow the VATSIM Connect instructions to create the required credentials.

Installation

To install, use composer:

composer require vatsim/oauth2-vatsim

Usage

Usage is the same as The League's OAuth client, using \Vatsim\OAuth2\Client\Provider\Vatsim as the provider.

Available Options

The Vatsim provider has the following options:

  • domain allows for switching between the prod or dev Connect instance (default: https://auth.vatsim.net)

Scopes

At time of writing, available scopes are:

  • full_name - Full name (first and last)
  • email- Email address
  • country - Residence country
  • vatsim_details - VATSIM pilot rating, ATC rating, region, division, sub-division

Testing

Tests can be run with:

composer test

Style checks can be run with:

composer lint

Contributing

Please see CONTRIBUTING.md for details.

Credits

License

The MIT License (MIT). Please see the License File for more information.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2023-01-23

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固