Interface IOneDriveWorkSchoolService
- Namespace
- FoundationaLLM.Core.Interfaces
- Assembly
- FoundationaLLM.Core.dll
Interface for OneDrive integration.
public interface IOneDriveWorkSchoolService
- Extension Methods
Methods
Connect(string)
Connects to user's OneDrive work or school account.
Task Connect(string instanceId)
Parameters
instanceId
stringThe FoundationaLLM instance identifier.
Returns
Disconnect(string)
Disconnect from user's OneDrive work or school account.
Task Disconnect(string instanceId)
Parameters
instanceId
stringThe FoundationaLLM instance identifier.
Returns
Download(string, string, string, OneDriveWorkSchoolItem, UnifiedUserIdentity)
Downloads a file from the user's connected OneDrive work or school account.
Task<OneDriveWorkSchoolItem> Download(string instanceId, string sessionId, string agentName, OneDriveWorkSchoolItem oneDriveItem, UnifiedUserIdentity userIdentity)
Parameters
instanceId
stringThe FoundationaLLM instance identifier.
sessionId
stringThe session ID from which the file is uploaded.
agentName
stringThe agent name.
oneDriveItem
OneDriveWorkSchoolItemThe OneDrive work or school item.
userIdentity
UnifiedUserIdentityThe user's identity.