Minor code clean-up.
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user