Table of contents
TOC
Collapse the table of content
Expand the table of content

Authentication using Windows Auth

Ajinkya Kher|Last Updated: 11/17/2016
|
1 Contributor

Applies to: Skype for Business 2015

After bootstrapping the Skype Web SDK we have access to an api object which exposes an application object. If we create a new instance of an application we get access to a signInManager. The signInManager provides us with a signIn(...) method that we a domain and without credentials a Windows Auth prompt will appear to authenticate.

Provide domain to authenticate

  1. Provide domain to authenticate.

     var application = api.UIApplicationInstance;
     application.signInManager.signIn({
         version: version,
         domain: domain
     }).then(function () {
         console.log("Signed in");
     }, function (error) {
         console.log("Error: couldn't sign in");
     }).then(reset);
    
© 2017 Microsoft