refactor(HomeController): LogInEnvelope aktualisiert, um SMS-Code als TOTP zu verifizieren
This commit is contained in:
12
EnvelopeGenerator.Extensions/CacheExtensions.cs
Normal file
12
EnvelopeGenerator.Extensions/CacheExtensions.cs
Normal file
@@ -0,0 +1,12 @@
|
||||
using Microsoft.Extensions.Caching.Distributed;
|
||||
|
||||
namespace EnvelopeGenerator.Extensions
|
||||
{
|
||||
public static class CacheExtensions
|
||||
{
|
||||
public static IDistributedCache Cache(this IDistributedCache cache)
|
||||
{
|
||||
cache.SetStringAsync()
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user