简体   繁体   English

远程事件接收者认证

[英]Remote event receiver authentication

I have Office365 subscription (sharepoint online) and azure subscription. 我有Office365订阅(在线共享点)和Azure订阅。 I'm hosting web service in the azure. 我在蔚蓝中托管Web服务。 There is remote event receiver inside of the web service which triggers on some event in my sharepoint online subscription. Web服务内部有一个远程事件接收器,可在我的sharepoint在线订阅中触发某些事件。 Everything is working fine, but there is one problem: I have no idea how to put some authentication on my remote event receiver because right now it public without any authorization. 一切工作正常,但是有一个问题:我不知道如何在远程事件接收器上进行身份验证,因为现在它未经任何授权就公开了。

Is there any way to add auhtorization? 有什么办法可以增加自律吗? Like for example: 例如:

https://blabla.azurewebsites.net/webservicename.svc?password=xxx?login=yyy https://blabla.azurewebsites.net/webservicename.svc?password=xxx?login=yyy

But why do you need it? 但是,为什么需要它呢? From what I understand you have a SPRemoteEventReceiver, right? 据我了解,您有一个SPRemoteEventReceiver,对吗? And you are triggering the event sending to the receiver a SPRemoteEventProperties object. 并且您正在触发事件,将事件发送给接收者SPRemoteEventProperties对象。 Without this object, no one can use your service, and this object has the context token and the correlation ID, so it is pretty safe. 没有这个对象,没有人可以使用您的服务,并且这个对象具有上下文令牌和关联ID,因此非常安全。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 为什么 SharePoint 远程事件接收器为我们托管在 azure Web 应用程序中的 .SVC 引用错误的 url - Why SharePoint remote event receiver is referencing wrong url for our .SVC hosted inside azure web app 有什么方法可以在不使用Azure Service Bus的情况下调试SharePoint在线远程事件接收器(即提供商托管的应用程序)? - Is there any way to debug SharePoint online Remote Event Receiver i.e. provider hosted app without using Azure Service Bus? 创建 Azure 应用服务时,2 个订阅“Microsoft Azure”和“现收现付”,其中一个选择托管 sharepoint 远程事件接收器 - 2 subscriptions “Microsoft Azure” & “Pay-As-You-Go” when creating Azure App Service, which one to chose to host sharepoint remote event receiver 如何修复“没有命名的事件中心接收器<name> ”</name> - How to fix “No event hub receiver named <name>” 如何在Receiver Event Hub中编辑EvenData消息? - How edit EvenData message in Receiver Event Hub? 如何修复“InvalidOperationException:没有命名的事件中心接收器<my eventhub name> ” - How to fix "InvalidOperationException: No event hub receiver named <my eventhub name>" Azure Event Hub Receiver中的分区ID,偏移量,主机名是什么? - What is Partition Id,Offset,Host Name in Azure Event Hub Receiver? C# 作为发送者,python 作为 Azure 事件中心的接收者 - C# as sender and python as receiver in Azure event hub Kafka 启用 Azure 事件中心:接收器中的会话超时无效 - Kafka enabled Azure Event Hub: Invalid session timeout in Receiver 如何在MVC应用程序中正确处理azure事件集线器接收器? - How to handle azure event hub receiver properly in MVC application?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM