Socialid.wifi.API
From Social ID Developers
Revision as of 22:37, 18 October 2021 by Gabriel.prado (Talk | contribs)
Contents |
Description
Initializes the API to be used in a captive portal context.
Usage
var api = new socialid.wifi.API(portalPathName)
Parameters
portalPathName | required | The path identifier of the captive portal. i.e. the path name after the "/portals/" part in the captive portal's URL. It can be automatically retrived from the "path_name" property of the shared "appConfig" object. |
---|
Example
var api = socialid.wifi.API(appConfig.path_name);