• Forces a logout from the portal and redirects to the logout page.

    Parameters

    • Optional reloginUrl: string

      The target page to redirect to after successful relogin.

    Returns Promise<void>

    Example

    ix.api.session.forceLogout();