1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37
|
public class MagellanIdentity : IIdentity
{
private string _name;
private decimal _identifiant;
private bool _isAuthenticated;
private string _authenticationType;
public MagellanIdentity(string name, decimal identifiant)
{
_name = name;
_identifiant= identifiant;
_isAuthenticated = true;
_authenticationType = "monAuthentification";
}
#region IIdentity Members
public decimal identifiant
{
get { return _identifiant; }
}
public string AuthenticationType
{
get { return _authenticationType; }
}
public bool IsAuthenticated
{
get { return _isAuthenticated; }
}
public string Name
{
get { return _name; }
} |
Partager