Minor code clean-up.

This commit is contained in:
2021-01-04 00:25:25 -06:00
parent 45dceef75e
commit 9d70df80f1
4 changed files with 11 additions and 17 deletions
+3 -1
View File
@@ -7,9 +7,11 @@ namespace SecureCore.Authentication
{
public class SessionManager
{
private static int SessionKeySize { get; } = 32; //32 bytes
public static string CreateSessionToken()
{
var token = new byte[Settings.SessionKeySize];
var token = new byte[SessionKeySize];
ByteGenerator.GetRandomBytes(ref token);