承接 harrygulliford/socialite-microsoft-graph 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

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

harrygulliford/socialite-microsoft-graph

最新稳定版本:v1.4.0

Composer 安装命令:

composer require harrygulliford/socialite-microsoft-graph

包简介

Microsoft Graph Provider for Laravel Socialite

README 文档

README

Latest Stable Version Total Downloads License

This package extends Laravel Socialite to give a convenient method of authenticating via the Microsoft Graph OAuth2 provider.

Support for Laravel 6+ and Socialite 5+, using PHP 7.3+ & 8.0+.

Installation

You can install the package via composer:

composer require harrygulliford/socialite-microsoft-graph

Then add the service to your config/services.php file:

'microsoft-graph' => [
    'client_id' => env('MS_GRAPH_KEY'),
    'client_secret' => env('MS_GRAPH_SECRET'),
    'tenant_id' => env('MS_GRAPH_TENANT_ID', 'common'),
    'redirect' => env('MS_GRAPH_REDIRECT_URL'),
],

Usage

You are able to use the provider in the same manner as a regular Socialite provider.

return Socialite::with('microsoft-graph')->redirect();

For more information, please refer to the Laravel Socialite documentation.

License

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

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2019-09-04