async logoutAsync() {
        try {
            await XH.appModel.logoutAsync();
        } catch (e) {
            console.error('Error calling XH.appModel.logoutAsync()', e);
        }
        return XH
            .fetchJson({url: 'xh/logout'})
            .then(() => XH.reloadApp())
            .catchDefault();
    }
/**
     * For applications that support a logout operation (i.e. not SSO), logs the current user out
     * and refreshes the application to present a login panel.
     */
For applications that support a logout operation , logs the current user out
and refreshes the application to present a login panel.
For applications that support a logout operation logs the current user out and refreshes the application to present a login panel .
async logoutAsync() {
        try {
            await XH.appModel.logoutAsync();
        } catch (e) {
            console.error('Error calling XH.appModel.logoutAsync()', e);
        }
        return XH
            .fetchJson({url: 'xh/logout'})
            .then(() => XH.reloadApp())
            .catchDefault();
    }
async logoutAsync ( ) { try { await XH . appModel . logoutAsync ( ) ; } catch ( e ) { console . error ( 'Error calling XH.appModel.logoutAsync()' , e ) ; } return XH . fetchJson ( { url : 'xh/logout' } ) . then ( ( ) => XH . reloadApp ( ) ) . catchDefault ( ) ; }
For applications that support a logout operation (i.e.
For applications that support a logout operation ( i . e .