mirror of
https://github.com/Govor-team/Govor.git
synced 2026-07-21 19:54:55 +00:00
Updeted Session Model and Session Opener Service
renamed RefreshToken in model to RefreshTokenHash - now we have a hash of token, not a token
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
namespace Govor.Application.Interfaces.Authentication;
|
||||
|
||||
public interface IJwtTokenHasher
|
||||
{
|
||||
string HashToken(string token);
|
||||
bool VerifyToken(string token, string storedHash);
|
||||
}
|
||||
Reference in New Issue
Block a user