我正在使用带C#的CSOM库将一些文件上传到SharePoint。一个要求是使用2FA。基本上,我关注这篇文章:https://knowledge-junction.com/2017/12/24/office-365-connecting-to-sharepoint-online-site-using-csom-when-multi-factor-authentication-mfa-is-enabled-for-the-user/
登录是在SharePointPnPCoreOnline库的帮助下完成的。这很完美。
当用户在登录过程中选择“记住我”时,即使应用程序重新启动,用户也会保持登录状态。现在,我想知道如何手动注销?我没有看到任何方法或提示如何做到这一点。