public static void SignOut() { if (_provider == null) { throw new NullReferenceException("Security provider not set"); } _provider.SignOut(); }