using SharepointToolbox.Web.Core.Models; namespace SharepointToolbox.Web.Services.OAuth; public interface IOAuthFlowCache { void StoreFlowState(string state, OAuthFlowState flowState); OAuthFlowState? GetAndRemoveFlowState(string state); void StoreTokens(string tokenKey, SessionTokens tokens); SessionTokens? GetAndRemoveTokens(string tokenKey); void StoreRegistrationResult(string key, AppRegistrationResult result); AppRegistrationResult? GetAndRemoveRegistrationResult(string key); }