Files
2026-06-02 10:56:03 +02:00

14 lines
514 B
C#

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);
}