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
instanceIdstringThe FoundationaLLM instance identifier.
Returns
Disconnect(string)
Disconnect from user's OneDrive work or school account.
Task Disconnect(string instanceId)
  Parameters
instanceIdstringThe 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
instanceIdstringThe FoundationaLLM instance identifier.
sessionIdstringThe session ID from which the file is uploaded.
agentNamestringThe agent name.
oneDriveItemOneDriveWorkSchoolItemThe OneDrive work or school item.
userIdentityUnifiedUserIdentityThe user's identity.