[英]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.