A drop-in authentication provider which serves as the core of Headspaces service oriented architecture