C# Class Simulator.SimulatedLoginAttempt

Mostrar archivo Open project: Microsoft/StopGuessing Class Usage Examples

Public Properties

Property Type Description
IsFrequentlyGuessedPassword bool
IsFromAttacker bool
IsGuess bool
IsPasswordValid bool
IsRepeatFailure bool
MistakeType string
Password string
SimAccount SimulatedUserAccount
UserNameOrAccountId string

Public Methods

Method Description
SimulatedLoginAttempt ( SimulatedUserAccount account, string password, bool isFromAttacker, bool isGuess, IPAddress clientAddress, string cookieProvidedByBrowser, string mistakeType, System.DateTime eventTimeUtc ) : System
UpdateSimulatorState ( Simulator simulator, SimIpHistory ipHistory ) : void

Method Details

SimulatedLoginAttempt() public method

public SimulatedLoginAttempt ( SimulatedUserAccount account, string password, bool isFromAttacker, bool isGuess, IPAddress clientAddress, string cookieProvidedByBrowser, string mistakeType, System.DateTime eventTimeUtc ) : System
account SimulatedUserAccount
password string
isFromAttacker bool
isGuess bool
clientAddress System.Net.IPAddress
cookieProvidedByBrowser string
mistakeType string
eventTimeUtc System.DateTime
return System

UpdateSimulatorState() public method

public UpdateSimulatorState ( Simulator simulator, SimIpHistory ipHistory ) : void
simulator Simulator
ipHistory SimIpHistory
return void

Property Details

IsFrequentlyGuessedPassword public_oe property

public bool IsFrequentlyGuessedPassword
return bool

IsFromAttacker public_oe property

public bool IsFromAttacker
return bool

IsGuess public_oe property

public bool IsGuess
return bool

IsPasswordValid public_oe property

public bool IsPasswordValid
return bool

IsRepeatFailure public_oe property

public bool IsRepeatFailure
return bool

MistakeType public_oe property

public string MistakeType
return string

Password public_oe property

public string Password
return string

SimAccount public_oe property

public SimulatedUserAccount,Simulator SimAccount
return SimulatedUserAccount

UserNameOrAccountId public_oe property

public string UserNameOrAccountId
return string