using System;
using System.Collections.Generic;
using System.Text;
namespace FrodeTest.Security
{
public class User
{
public static User Authenticate(string username, string password)
{
User user = new User(username);
if (user.IsPassword(password))
return user;
else
return null;
}
public User(string username)
{
xUsername = username;
}
//Private variables
private string xUsername = string.Empty;
public string Username { get {return xUsername;} }
///
/// Checks the given password for the user, and returns true if it's the right one.
///
///
///
public bool IsPassword(string password)
{
return true;
}
}
}