When to create an application for Skype for Business

时间:2017-08-04 12:27:34

标签: skype-for-business ucwa

I am writing an iOS app that will use data from Skype for Business, and am following the guide from Microsoft called Create an application, which must be done before being able to use the API's.

What is unclear to me is when exactly to create an application? Is it:

  • per client, i.e. only once ever?
  • per home server?
  • per user?
  • per session?

2 个答案:

答案 0 :(得分:2)

The application here is more a kind of "virtual object (the application)" which needs to be created here, until you can start using Skype for Business (SfB) features.

So your question isn´t that easy to answer as its not clear what you wish to perform (e.g. did you wish to login, perform some task and then logoff again?). So it depends a little bit on your application and which features you are using. Therefore its no "only once ever" as the "virtual object (the application)" is destroyed at some time (e.g. your application crash and the SfB server no longer got a "yes we are still here and are listening" requests). This is controlled by the lifetime of a token which is eight (8) hours for authenticated users so you need to renew that or your application will stop working. So its more a "per taskuser & login & time" approach...

Microsoft explained the above as well in the following statement: "This is how you register your application with UCWA 2.0 as an agent of the user whose credentials you obtained in a previous step."

答案 1 :(得分:1)

如果您要创建将与Skype for Business服务器交互的iOS应用程序,则可以使用Skype for Business App SDK for iOS。此客户端库为未驻留在Skype for Business服务器上的用户处理匿名会议加入。
对于所有其他Skype for Business功能,您需要使用您选择的iOS REST库。最适合客户端应用程序的REST端点实际上是Skype Web SDK。 Skype Trusted Application API专为服务器与服务器通信而设计,服务器与Skype for Business Online实例通信。在这种情况下,您的服务器获取并处理Skype数据,然后将其提供给客户端(如iOS应用程序)。
除非您打算在Skype for Business Online和iOS应用程序之间创建中间层,否则您应该使用Web SDK。