Authentication using popup window

When using 'window' as method in the login() function, a pre-styled popup window loaded from Boka's servers is displayed.

This window handles all supported login flows and will post the login data back to the SDK via the login() callback parameter.

This could be particularly useful if you only want to fetch resources from Boka for a specific part of your application.

Note! Although this is the easiest way to incorporate user-handover from Boka into your application, popup windows will provide the least good user-experience. We therefore recommend you to implement the other methods 'password' and 'facebook'/'google' into your application to provide a better user-experience.