验证作为EWS托管API的WCF REST API [英] Authenticate the WCF REST API which is EWS Managed API

查看:109
本文介绍了验证作为EWS托管API的WCF REST API的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,





我创建了使用 EWS托管API 的WCF REST API Exchange服务器功能。 WCF REST API在json中提供请求和响应格式。



但是对于每个客户端请求,我需要进行身份验证并在WCF Rest API上创建Exchange服务对象。



另外我无法管理每个客户的会话。



那么有什么办法吗?仅对用户进行一次身份验证并创建服务对象。此服务对象将用于该特定用户的所有其他请求。??





谢谢...

Hello,


I have Created WCF REST API which use the EWS Managed API to use the Exchange server functionality. WCF REST API provides the request and and response format in json.

But for each client request, I need to do authentication and to create Exchange service object on WCF Rest API.

Also I can't manage the session for each client.

So is there any way to authenticate the user only one time and creating the service object. and This service object will be used for all other request of that specific user.??


Thanks...

推荐答案

使用PerSession而不是PerCall实例模式。
Use PerSession instead of PerCall instance mode.


这篇关于验证作为EWS托管API的WCF REST API的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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