|
|
@ -21,7 +21,7 @@ public class StubbedContext : UserDbContext
|
|
|
|
Id = 1,
|
|
|
|
Id = 1,
|
|
|
|
Username = "johnny",
|
|
|
|
Username = "johnny",
|
|
|
|
Password = Convert.ToBase64String(KeyDerivation.Pbkdf2(
|
|
|
|
Password = Convert.ToBase64String(KeyDerivation.Pbkdf2(
|
|
|
|
password: "motdepasse",
|
|
|
|
password: "Motdepasse",
|
|
|
|
salt: RandomNumberGenerator.GetBytes(128 / 8),
|
|
|
|
salt: RandomNumberGenerator.GetBytes(128 / 8),
|
|
|
|
prf: KeyDerivationPrf.HMACSHA256,
|
|
|
|
prf: KeyDerivationPrf.HMACSHA256,
|
|
|
|
iterationCount: 100000,
|
|
|
|
iterationCount: 100000,
|
|
|
@ -34,7 +34,7 @@ public class StubbedContext : UserDbContext
|
|
|
|
Id = 2,
|
|
|
|
Id = 2,
|
|
|
|
Username = "maxime",
|
|
|
|
Username = "maxime",
|
|
|
|
Password = Convert.ToBase64String(KeyDerivation.Pbkdf2(
|
|
|
|
Password = Convert.ToBase64String(KeyDerivation.Pbkdf2(
|
|
|
|
password: "motdepasse",
|
|
|
|
password: "Motdepasse",
|
|
|
|
salt: RandomNumberGenerator.GetBytes(128 / 8),
|
|
|
|
salt: RandomNumberGenerator.GetBytes(128 / 8),
|
|
|
|
prf: KeyDerivationPrf.HMACSHA256,
|
|
|
|
prf: KeyDerivationPrf.HMACSHA256,
|
|
|
|
iterationCount: 100000,
|
|
|
|
iterationCount: 100000,
|
|
|
@ -47,7 +47,7 @@ public class StubbedContext : UserDbContext
|
|
|
|
Id = 3,
|
|
|
|
Id = 3,
|
|
|
|
Username = "clement",
|
|
|
|
Username = "clement",
|
|
|
|
Password = Convert.ToBase64String(KeyDerivation.Pbkdf2(
|
|
|
|
Password = Convert.ToBase64String(KeyDerivation.Pbkdf2(
|
|
|
|
password: "motdepasse",
|
|
|
|
password: "Motdepasse",
|
|
|
|
salt: RandomNumberGenerator.GetBytes(128 / 8),
|
|
|
|
salt: RandomNumberGenerator.GetBytes(128 / 8),
|
|
|
|
prf: KeyDerivationPrf.HMACSHA256,
|
|
|
|
prf: KeyDerivationPrf.HMACSHA256,
|
|
|
|
iterationCount: 100000,
|
|
|
|
iterationCount: 100000,
|
|
|
@ -60,7 +60,7 @@ public class StubbedContext : UserDbContext
|
|
|
|
Id = 4,
|
|
|
|
Id = 4,
|
|
|
|
Username = "erwan",
|
|
|
|
Username = "erwan",
|
|
|
|
Password = Convert.ToBase64String(KeyDerivation.Pbkdf2(
|
|
|
|
Password = Convert.ToBase64String(KeyDerivation.Pbkdf2(
|
|
|
|
password: "motdepasse",
|
|
|
|
password: "Motdepasse",
|
|
|
|
salt: RandomNumberGenerator.GetBytes(128 / 8),
|
|
|
|
salt: RandomNumberGenerator.GetBytes(128 / 8),
|
|
|
|
prf: KeyDerivationPrf.HMACSHA256,
|
|
|
|
prf: KeyDerivationPrf.HMACSHA256,
|
|
|
|
iterationCount: 100000,
|
|
|
|
iterationCount: 100000,
|
|
|
@ -73,7 +73,7 @@ public class StubbedContext : UserDbContext
|
|
|
|
Id = 5,
|
|
|
|
Id = 5,
|
|
|
|
Username = "victor",
|
|
|
|
Username = "victor",
|
|
|
|
Password = Convert.ToBase64String(KeyDerivation.Pbkdf2(
|
|
|
|
Password = Convert.ToBase64String(KeyDerivation.Pbkdf2(
|
|
|
|
password: "motdepasse",
|
|
|
|
password: "Motdepasse",
|
|
|
|
salt: RandomNumberGenerator.GetBytes(128 / 8),
|
|
|
|
salt: RandomNumberGenerator.GetBytes(128 / 8),
|
|
|
|
prf: KeyDerivationPrf.HMACSHA256,
|
|
|
|
prf: KeyDerivationPrf.HMACSHA256,
|
|
|
|
iterationCount: 100000,
|
|
|
|
iterationCount: 100000,
|
|
|
|