Table of Contents

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 string

The FoundationaLLM instance identifier.

Returns

Task

Disconnect(string)

Disconnect from user's OneDrive work or school account.

Task Disconnect(string instanceId)

Parameters

instanceId string

The FoundationaLLM instance identifier.

Returns

Task

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 string

The FoundationaLLM instance identifier.

sessionId string

The session ID from which the file is uploaded.

agentName string

The agent name.

oneDriveItem OneDriveWorkSchoolItem

The OneDrive work or school item.

userIdentity UnifiedUserIdentity

The user's identity.

Returns

Task<OneDriveWorkSchoolItem>