Detected 1 occurrence(s) of ‘\s*pass[word]+\s*[:=]\s*["'][a-z0-9\-_\!\$]+["']‘: GetIdentifier(string username, string password); } public class AuthenticationService : IUserMapper, IAuthenticationService { public readonly Guid Identifier = Guid.NewGuid(); private readonly string Username = "admin"; private readonly string Password = "x"; public Guid GetIdentifier(string username, string password) { return (username == Username && password == Password) ? Identifier : Guid.Empty; } […]
↧