使用PHP和LDAP连接到Microsoft Office 365 [英] Using PHP and LDAP to connect to Microsoft Office 365

查看:238
本文介绍了使用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?

感谢您的时间和精力.

推荐答案

这是可能的.微软最近为其 Windows Azure 云平台发布了一个Developer Preview,该平台的功能与许多其他云计算类似服务(亚马逊宝塔框 Heroku ).与此新产品一起,开发的应用程序还可以使用您的Office365帐户凭据来利用Single Sign On.

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:

  1. 如何实现单点登录Windows Azure Active Directory-PHP应用程序
  2. Windows Azure Active Directory入门
  1. How to implement single sign-on with Windows Azure Active Directory - PHP Application
  2. Get Started with Windows Azure Active Directory

注意:

  • 示例1在git repo中有其来源.此存储库不包含引用的.csproj文件,因此您将必须使用包含的3个源文件来构建项目.如果可以的话,您可以做到:).
  • 还应注意,在完成Office365身份验证并重新路由回您的应用程序后,它期望返回URL为HTTPS,如果不是,则将收到错误消息(或者至少是我这样做的).

这篇关于使用PHP和LDAP连接到Microsoft Office 365的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆