将非SharePoint应用程序连接到SharePoint(执行CURD操作) [英] Connect non-SharePoint app to SharePoint (Perform CURD Operation)

查看:66
本文介绍了将非SharePoint应用程序连接到SharePoint(执行CURD操作)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨团队,


 


我们正在尝试做来自Mobile Native App的SharePoint Online(O365站点)上的CURD操作(例如: - 非SharePoint  Env   在  < span style =""> Xamarin  或  React
Native 
app)。在反应中,我们可以进行REST API操作(使用  fetch )但在此之前我们需要建立身份验证并为连接提供令牌。


 


我们有以下查询 -


 


1.我们如何能够从非SharePoint应用程序使用SharePoint Online进行身份验证(示例React Native任何其他应用程序)?


à 是否有人使用JavaScript或任何其他脚本语言实现了此类身份验证?


A 是否有人使用来自非SharePoint应用程序的Azure AD实现身份验证,部分示例或任何内容也可以帮助我们?


 


任何形式的帮助都非常赞赏!!!


 


< span style =""> 问候,


Arif Shaikh

解决方案

嗨Arif,


请检查Azure Active Directory身份验证库(ADAL)。


https://docs.microsoft.com/en-us/azure/active-directory/develop/active-directory-authentication-libraries


认证文章分为几步:


1。获取安全令牌


2。获取访问令牌


3。获取请求摘要


以下文章供您参考。


使用本地HTML / JavaScript中的REST访问Office 365 SharePoint网站 主机


https://pholpar.wordpress.com/2013/05/11/accessing-office-365-sharepoint-sites-using-rest-from -a-local-html-javascript-host /


SharePoint Online远程身份验证


https://paulryan.com.au/2014/spo-remote-authentication-rest/


最好的问候,


Dennis



Hi Team,

 

We are trying to do CURD Operation on SharePoint Online(O365 Site) from Mobile Native App (eg:- Non-SharePoint Env either in Xamarin or React Native app).In react, We can make REST API operation (using fetch) but before that we need to established authentication and have token for a connection.

 

We have below queries -

 

1.How we can make an authentication with SharePoint Online from non-SharePoint app (Example React Native any other app)?

àIs anyone has implemented this type of authentication using JavaScript or any other scripting language?

àIs anyone has implemented authentication using Azure AD from non-SharePoint application that portion of example or any content will also help us?

 

Any kind of assistance really appreciated !!!

 

Regards,

Arif Shaikh

解决方案

Hi Arif,

Please check the Azure Active Directory Authentication Libraries(ADAL).

https://docs.microsoft.com/en-us/azure/active-directory/develop/active-directory-authentication-libraries

The authentication piece comes in a few steps:

1. Get the security token

2. Get the access token

3. Get the request digest

The following articles for your reference.

Accessing Office 365 SharePoint sites using REST from a local HTML / JavaScript Host

https://pholpar.wordpress.com/2013/05/11/accessing-office-365-sharepoint-sites-using-rest-from-a-local-html-javascript-host/

SharePoint Online remote authentication

https://paulryan.com.au/2014/spo-remote-authentication-rest/

Best Regards,

Dennis


这篇关于将非SharePoint应用程序连接到SharePoint(执行CURD操作)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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