Access Journey Apps
The SDK can be included with your application by including the following tag in your HTML document.
Including the script in your application gives access to the MYAPPS object. This object encapsulates a handful of functions that allow your application to integrate itself into the Access Journey provided by Cloud4Wi.
Moves the user away from the page to the next destination on the Access Journey. This method is not available when the application is opened from the App Bar as it is not a part of the Access Journey.
Returns the URL that points to the next destination on the Access Journey. It is the same URL that would be used by the goNext() function to continue the Journey.
This method is not available when the application is opened from the App Bar as it is not a part of the Access Journey.
Moves the user away from the page to the Welcome Portal. In many cases, has the effect of going Next, but can also have the effect of going back. Useful for App Bar applications that can use it as a "back" button in lieu of not having access to the goNext() function.
Combines goNext() and goHome(). If available, will behave as goNext(), but revert to goHome() otherwise.
The options object does not have to be filled, as there are default options that can be relied upon. One simply has to ommit an entry in the object to revert to the default settings.
This function changes the style of the "next" button produced by the renderNavbar function from hidden to inline-block.
Returns the session key necessary for the context API call.
Returns the value of the given argument parameter by parsing the URL.
- sk: session key, used for the context API call
- tgr: step of the Access Journey that called the App. The possible values are:
- trOpn: Connect
- trRgt: Sign up
- trPlgn: Log in Attempt
- trLgn: Log in
- trLgt: Disconnect
- false: When not part of the Access Journey
Retrieve the session data and executes the callback function, function(SessionData). SessionData is false if there are any error, which are logged in console.