h2o_dashboard.wave_auth

async h2o_dashboard.wave_auth.add_application_sidebar(q)[source]
async h2o_dashboard.wave_auth.init(q: Query) None[source]
Q Page Meta (meta_card) Arguments:
box

A string indicating how to place this component on the page.

title

The title of the page.

refresh

Refresh rate in seconds. A value of 0 turns off live-updates. Values != 0 are currently ignored (reserved for future use).

notification

Display a desktop notification.

notification_bar

Display an in-app notification bar.

redirect

Redirect the page to a new URL.

icon

Shortcut icon path. Preferably a .png file (.ico files may not work in mobile browsers). Not supported in Safari.

layouts

The layouts supported by this page.

dialog

Display a dialog on the page.

side_panel

Display a side panel on the page.

theme

Specify the name of the theme (color scheme) to use on this page. One of ‘light’, ‘neon’ or ‘h2o-dark’.

themes

Themes (color schemes) that define color used in the app.

tracker

Configure a tracker for the page (for web analytics).

scripts

External Javascript files to load into the page.

script

Javascript code to execute on this page.

stylesheet

CSS stylesheet to be applied to this page.

stylesheets

External CSS files to load into the page.

commands

Contextual menu commands for this component.

async h2o_dashboard.wave_auth.initialize_client(q: Query)[source]
async h2o_dashboard.wave_auth.render_hidden_content(q: Query)[source]

Render pages content e.g. overview_page or other pages get added here

async h2o_dashboard.wave_auth.render_login_page(q: Query, error_message=None)[source]

Render the login page.

async h2o_dashboard.wave_auth.serve_security(q: Query, bypass_security=False)[source]