feat(app): add IRefreshTokenGenerator abstraction

This commit is contained in:
2026-04-14 13:17:12 -03:00
parent 802c89ffe5
commit 84006776b6

View File

@@ -0,0 +1,10 @@
namespace SIGCM2.Application.Abstractions.Security;
public interface IRefreshTokenGenerator
{
/// <summary>
/// Generates a cryptographically secure opaque raw token (256 bits, base64url without padding).
/// This is the value sent to the client. It is NEVER stored — only its SHA-256 hash is persisted.
/// </summary>
string Generate();
}