A flexible flight component for performing authentication for an asynchronous ui.