Index

AppAuthenticationDialog

new AppAuthenticationDialog(app)

The https authentication dialog of the AppWindow.

Parameters:
Name Type Description
app AppWindow

The app window instance where this dialog should popup.

Members

_event :Event

The current authentication event. Note: Only one event one time.

ELEMENT_PREFIX :String

Used for element id access. e.g., 'authentication-dialog-alert-ok'

elements :Object

Maps to DOM elements.

Methods

_fetchElements()

Get all elements when inited.

_registerEvents()

Registers click events.

_unregisterEvents()

Unregisters authentication events from the app element.

cancelHandler()

Called when the user cancels the authentication dialog.

confirmHandler()

Called when the user confirms the authentication dialog.

handleEvent()

General event handler interface.

hide()

Hides the authentication dialog.

render()

Operations to render UI
Overwrite view to provide HTML interface.
Overwrite _fetchElements to provide elements reference.
Overwrite _registerEvents to register event handler.

show()

Shows the authentication dialog.

view()

Generates markup for the dialog.