diff options
author | vman <public@vaughnnugent.com> | 2022-12-28 14:19:32 -0500 |
---|---|---|
committer | vman <public@vaughnnugent.com> | 2022-12-28 14:19:32 -0500 |
commit | 9bb5ddd8f19c0ecabd7af4ee58d80c16826bc183 (patch) | |
tree | 7f8a3863d18f4673294ab11e427fe0b77fd70abf /Libs/VNLib.Plugins.Essentials.Sessions.OAuth/OAuth2Session.cs | |
parent | 1f2b3530ebeafa162fe4df41e691c33cb2ff0009 (diff) |
Cache provider abstractions, reduced deps
Diffstat (limited to 'Libs/VNLib.Plugins.Essentials.Sessions.OAuth/OAuth2Session.cs')
-rw-r--r-- | Libs/VNLib.Plugins.Essentials.Sessions.OAuth/OAuth2Session.cs | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/Libs/VNLib.Plugins.Essentials.Sessions.OAuth/OAuth2Session.cs b/Libs/VNLib.Plugins.Essentials.Sessions.OAuth/OAuth2Session.cs index 539799c..e9a69cd 100644 --- a/Libs/VNLib.Plugins.Essentials.Sessions.OAuth/OAuth2Session.cs +++ b/Libs/VNLib.Plugins.Essentials.Sessions.OAuth/OAuth2Session.cs @@ -25,7 +25,6 @@ using System; using VNLib.Net.Http; -using VNLib.Net.Messaging.FBM.Client; using VNLib.Plugins.Sessions.Cache.Client; using VNLib.Plugins.Sessions.Cache.Client.Exceptions; @@ -44,10 +43,10 @@ namespace VNLib.Plugins.Essentials.Sessions.OAuth /// Initalizes a new <see cref="OAuth2Session"/> /// </summary> /// <param name="sessionId">The session id (or token)</param> - /// <param name="client">The <see cref="FBMClient"/> used as the backing cache provider</param> + /// <param name="client">The <see cref="IRemoteCacheStore"/> used as the backing cache provider</param> /// <param name="backgroundTimeOut">The ammount of time to wait for a background operation (delete, update, get)</param> /// <param name="invalidCache">Called when the session has been marked as invalid and the close even hook is being executed</param> - public OAuth2Session(string sessionId, FBMClient client, TimeSpan backgroundTimeOut, Action<OAuth2Session> invalidCache) + public OAuth2Session(string sessionId, IRemoteCacheStore client, TimeSpan backgroundTimeOut, Action<OAuth2Session> invalidCache) : base(sessionId, client, backgroundTimeOut) { InvalidateCache = invalidCache; |