Initial commit
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
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);
|
||||
}
|
||||
Reference in New Issue
Block a user