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

Authentication using Username and Password

Ajinkya Kher|Last Updated: 11/11/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, to which we can supply a version, username, and password to authenticate.

Provide a username and password to authenticate

  1. Provide a username and password to authenticate.

     var application = api.UIApplicationInstance;
         version: version,
         username: username,
         password: password
     }).then(function () {
         console.log('Signed in successfully.');
     }, function (error) {
         console.log('Failed to sign in.');
© 2017 Microsoft