Kieran
4de977c1dd
All checks were successful
continuous-integration/drone/push Build is passing
Co-authored-by: Kieran <kieran@harkin.me> Reviewed-on: #65
15 lines
412 B
C#
15 lines
412 B
C#
using VoidCat.Database;
|
|
using VoidCat.Services.Abstractions;
|
|
|
|
namespace VoidCat.Services.Users.Auth;
|
|
|
|
/// <inheritdoc cref="IUserAuthTokenStore"/>
|
|
public class CacheUserAuthTokenStore : BasicCacheStore<UserAuthToken>, IUserAuthTokenStore
|
|
{
|
|
public CacheUserAuthTokenStore(ICache cache) : base(cache)
|
|
{
|
|
}
|
|
|
|
/// <inheritdoc />
|
|
protected override string MapKey(Guid id) => $"auth-token:{id}";
|
|
} |