pde159/yii2-authclient-microsoft 问题修复 & 功能扩展

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

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

pde159/yii2-authclient-microsoft

Composer 安装命令:

composer require pde159/yii2-authclient-microsoft

包简介

Microsoft 365/Azure auth provider

README 文档

README

Yii2 authclient for Microsoft 365/Azure

Installation

With Composer :

composer require pde159/yii2-authclient-microsoft

or add to "require" section to composer.json

"pde159/yii2-authclient-microsoft": "*"

Usage

First create you Application via Microsoft Azure Portal and configure :

  • a redirect URI
  • a secret key
  • set to all tenant for multitenant availability

And add the Oauth2 client to your Yii2 configuration component section

'components' => [
    'authClientCollection' => [
        'class'   => \yii\authclient\Collection::className(),
        'clients' => [
            'microsoft' => [
                'class'         => 'pde159\authclient\Microsoft',
                'returnUrl'     => 'http://localhost/user/login',
                'clientId'      => 'clientIDyoudefinedInAzurePortal',
                'clientSecret'  => 'SecretyoucratedinAzurePortal',
            ],
            ...
        ],
    ],
    ...
]

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: BSD-3-Clause
  • 更新时间: 2020-07-27

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固