Hnadling of folder delta token 410 GONE for Outlook.

This commit is contained in:
Burak Kaan Köse
2025-02-23 00:35:13 +01:00
parent 7e05d05f94
commit c091fffe90
2 changed files with 12 additions and 14 deletions

View File

@@ -102,19 +102,7 @@ public interface IOutlookChangeProcessor : IDefaultChangeProcessor
/// <returns>Empty string to assign folder delta sync for.</returns>
Task<string> ResetFolderDeltaTokenAsync(Guid folderId);
/// <summary>
/// Outlook may expire account's delta token after a while.
/// This will result returning 410 GONE response from the API for synchronizing folders.
/// This method resets the token for the given account for re-syncing folders.
/// </summary>
/// <param name="accountId">Account identifier to reset delta token for.</param>
/// <returns>Empty string to assign account delta sync for.</returns>
Task<string> ResetAccountDeltaTokenAsync(Guid accountId);
Task ManageCalendarEventAsync(Microsoft.Graph.Models.Event calendarEvent, AccountCalendar assignedCalendar, MailAccount organizerAccount);
}
public interface IImapChangeProcessor : IDefaultChangeProcessor