Ios 通过OneDrive API或其他方式访问DocumentLibrary

Ios 通过OneDrive API或其他方式访问DocumentLibrary,ios,sharepoint,office365,onedrive,Ios,Sharepoint,Office365,Onedrive,我有一个私人小组,在那里我们有一个文档库。(我有权访问此组/站点) 我当前正在尝试访问此目录中的文件 文档库: 我在azure门户中注册了一个应用程序,我想,我设置了所有必要的权限 Microsoft Graph: Read all groups Read directory data Access directory as the signed in user Read all files that user can access Read items in all site collect

我有一个私人小组,在那里我们有一个文档库。(我有权访问此组/站点) 我当前正在尝试访问此目录中的文件

文档库:

我在azure门户中注册了一个应用程序,我想,我设置了所有必要的权限

Microsoft Graph:
Read all groups
Read directory data
Access directory as the signed in user
Read all files that user can access
Read items in all site collections

Office 365 SharePoint Online:
Read user profiles
Read user files
Read items in all site collections
Read managed metadata

Windows Azure Active Directory:
All permissions given
我可以通过OAuth身份验证获得令牌,但是:

访问

告诉我

InvalidAuthenticationToken

访问

正在工作,但我没有找到从那里访问文档库的方法

最后,我想访问(列出并读取)iOS应用程序中的文件。使用onedrive sdk来实现这一点非常好,因为office365 sdk目前似乎已经不适用于Swift4

我可能遗漏了一些信息,如果是那样的话,就去问他们吧