Using PHP and LDAP to connect to Microsoft Office 365(使用 PHP 和 LDAP 连接到 Microsoft Office 365)
问题描述
我工作的公司已将其本地交换迁移到托管的 Office 365 解决方案.我们正在构建几个外部(本地网络)托管网站,并希望使用 LDAP 身份验证来构建我们现有的托管用户群.
The company that I work for has migrated their local exchange to a hosted Office 365 solution. We are in the process of building out several externally(to our local network) hosted websites and would like to use LDAP authentication to build upon our existing, hosted user base.
谁能解释或指出一些关于使用 PHP 和 LDAP 连接到远程托管的 AD(在本例中为 Office 365)并对其用户进行身份验证的方法的文档?
Can anyone explain or point to some documentation of a way to use PHP and LDAP to connect to a remotely hosted AD (in this case Office 365) and authenticate users to it?
感谢您的时间和精力.
推荐答案
这是可能的.Microsoft 最近为其 Windows Azure 云平台发布了开发者预览版,该平台的功能与许多其他云计算类似服务(亚马逊、宝塔盒,Heroku).与此新产品一起,开发的应用程序能够使用您的 Office365 帐户凭据利用单点登录.
This is possible. Microsoft has recently released a Developer Preview for their Windows Azure cloud platform which functions like many other cloud computing services (Amazon, Pagoda Box, Heroku). Along with this new product is the ability for developed apps to leverage Single Sign On using your Office365 account credentials.
这里有几篇介绍 PHP 过程的文章:
Here are a few articles that go over the PHP process:
- 如何实现单点登录使用 Windows Azure Active Directory - PHP 应用程序
- 开始使用 Windows Azure Active Directory
注意事项:
- 示例的来源位于 git 存储库中.此 repo 不包含引用的 .csproj 文件,因此您必须使用包含的 3 个源文件构建项目.如果我能做到,你也能做到:).
- 还应注意,Office365 身份验证完成并重新路由回您的应用程序后,它期望返回 URL 为 HTTPS,如果不是,您将收到错误消息(或者至少我这样做了).
这篇关于使用 PHP 和 LDAP 连接到 Microsoft Office 365的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:使用 PHP 和 LDAP 连接到 Microsoft Office 365
基础教程推荐
- 如何在 Laravel 5.3 注册中添加动态下拉列表列? 2021-01-01
- PHP PDO MySQL 查询 LIKE ->多个关键词 2021-01-01
- 有什么方法可以用编码 UTF-8 而不是 Unicode 返回 PHP`json_encode`? 2021-01-01
- 在PHP中根据W3C规范Unicode 2022-01-01
- 如何在 Laravel 中使用 React Router? 2022-01-01
- YouTube API v3 点赞视频,但计数器不增加 2022-01-01
- PHP 类:全局变量作为类中的属性 2021-01-01
- Cron Jobs 调用带有变量的 PHP 脚本 2022-01-01
- 学说 dbal querybuilder 作为准备好的语句 2022-01-01
- 如何替换eregi() 2022-01-01
