C# Class Simulator.SimIpHistory

Afficher le fichier Open project: Microsoft/StopGuessing Class Usage Examples

Méthodes publiques

Свойство Type Description
AccountFailuresFrequentPassword StopGuessing.DataStructures.DecayingDouble
AccountFailuresInfrequentPassword StopGuessing.DataStructures.DecayingDouble
PasswordFailuresNoTypoFrequentPassword StopGuessing.DataStructures.DecayingDouble
PasswordFailuresNoTypoInfrequentPassword StopGuessing.DataStructures.DecayingDouble
PasswordFailuresTypoFrequentPassword StopGuessing.DataStructures.DecayingDouble
PasswordFailuresTypoInfrequentPassword StopGuessing.DataStructures.DecayingDouble
RecentPotentialTypos SmallCapacityConstrainedSet
RepeatAccountFailuresFrequentPassword StopGuessing.DataStructures.DecayingDouble
RepeatAccountFailuresInfrequentPassword StopGuessing.DataStructures.DecayingDouble
RepeatPasswordFailuresNoTypoFrequentPassword StopGuessing.DataStructures.DecayingDouble
RepeatPasswordFailuresNoTypoInfrequentPassword StopGuessing.DataStructures.DecayingDouble
RepeatPasswordFailuresTypoFrequentPassword StopGuessing.DataStructures.DecayingDouble
RepeatPasswordFailuresTypoInfrequentPassword StopGuessing.DataStructures.DecayingDouble
SuccessfulLogins StopGuessing.DataStructures.DecayingDouble

Méthodes publiques

Méthode Description
AdjustBlockingScoreForPastTyposTreatedAsFullFailures ( Simulator simulator, SimulatedUserAccount account, System.DateTime whenUtc, string correctPassword ) : void

This analysis will examine the client IP's previous failed attempts to login to this account to determine if any failed attempts were due to typos.

GetAllScores ( System.TimeSpan halfLife, System.DateTime whenUtc ) : double[]
SimIpHistory ( int numberOfPastLoginsToKeepForTypoAnalysis ) : System

Method Details

AdjustBlockingScoreForPastTyposTreatedAsFullFailures() public méthode

This analysis will examine the client IP's previous failed attempts to login to this account to determine if any failed attempts were due to typos.
public AdjustBlockingScoreForPastTyposTreatedAsFullFailures ( Simulator simulator, SimulatedUserAccount account, System.DateTime whenUtc, string correctPassword ) : void
simulator Simulator
account SimulatedUserAccount The account that the client is currently trying to login to.
whenUtc System.DateTime
correctPassword string The correct password for this account. (We can only know it because /// the client must have provided the correct one this loginAttempt.)
Résultat void

GetAllScores() public méthode

public GetAllScores ( System.TimeSpan halfLife, System.DateTime whenUtc ) : double[]
halfLife System.TimeSpan
whenUtc System.DateTime
Résultat double[]

SimIpHistory() public méthode

public SimIpHistory ( int numberOfPastLoginsToKeepForTypoAnalysis ) : System
numberOfPastLoginsToKeepForTypoAnalysis int
Résultat System

Property Details

AccountFailuresFrequentPassword public_oe property

public DecayingDouble,StopGuessing.DataStructures AccountFailuresFrequentPassword
Résultat StopGuessing.DataStructures.DecayingDouble

AccountFailuresInfrequentPassword public_oe property

public DecayingDouble,StopGuessing.DataStructures AccountFailuresInfrequentPassword
Résultat StopGuessing.DataStructures.DecayingDouble

PasswordFailuresNoTypoFrequentPassword public_oe property

public DecayingDouble,StopGuessing.DataStructures PasswordFailuresNoTypoFrequentPassword
Résultat StopGuessing.DataStructures.DecayingDouble

PasswordFailuresNoTypoInfrequentPassword public_oe property

public DecayingDouble,StopGuessing.DataStructures PasswordFailuresNoTypoInfrequentPassword
Résultat StopGuessing.DataStructures.DecayingDouble

PasswordFailuresTypoFrequentPassword public_oe property

public DecayingDouble,StopGuessing.DataStructures PasswordFailuresTypoFrequentPassword
Résultat StopGuessing.DataStructures.DecayingDouble

PasswordFailuresTypoInfrequentPassword public_oe property

public DecayingDouble,StopGuessing.DataStructures PasswordFailuresTypoInfrequentPassword
Résultat StopGuessing.DataStructures.DecayingDouble

RecentPotentialTypos public_oe property

public SmallCapacityConstrainedSet RecentPotentialTypos
Résultat SmallCapacityConstrainedSet

RepeatAccountFailuresFrequentPassword public_oe property

public DecayingDouble,StopGuessing.DataStructures RepeatAccountFailuresFrequentPassword
Résultat StopGuessing.DataStructures.DecayingDouble

RepeatAccountFailuresInfrequentPassword public_oe property

public DecayingDouble,StopGuessing.DataStructures RepeatAccountFailuresInfrequentPassword
Résultat StopGuessing.DataStructures.DecayingDouble

RepeatPasswordFailuresNoTypoFrequentPassword public_oe property

public DecayingDouble,StopGuessing.DataStructures RepeatPasswordFailuresNoTypoFrequentPassword
Résultat StopGuessing.DataStructures.DecayingDouble

RepeatPasswordFailuresNoTypoInfrequentPassword public_oe property

public DecayingDouble,StopGuessing.DataStructures RepeatPasswordFailuresNoTypoInfrequentPassword
Résultat StopGuessing.DataStructures.DecayingDouble

RepeatPasswordFailuresTypoFrequentPassword public_oe property

public DecayingDouble,StopGuessing.DataStructures RepeatPasswordFailuresTypoFrequentPassword
Résultat StopGuessing.DataStructures.DecayingDouble

RepeatPasswordFailuresTypoInfrequentPassword public_oe property

public DecayingDouble,StopGuessing.DataStructures RepeatPasswordFailuresTypoInfrequentPassword
Résultat StopGuessing.DataStructures.DecayingDouble

SuccessfulLogins public_oe property

public DecayingDouble,StopGuessing.DataStructures SuccessfulLogins
Résultat StopGuessing.DataStructures.DecayingDouble