C# Класс Simulator.SimIpHistory

Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
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

Открытые методы

Метод Описание
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

Описание методов

AdjustBlockingScoreForPastTyposTreatedAsFullFailures() публичный Метод

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.)
Результат void

GetAllScores() публичный Метод

public GetAllScores ( System.TimeSpan halfLife, System.DateTime whenUtc ) : double[]
halfLife System.TimeSpan
whenUtc System.DateTime
Результат double[]

SimIpHistory() публичный Метод

public SimIpHistory ( int numberOfPastLoginsToKeepForTypoAnalysis ) : System
numberOfPastLoginsToKeepForTypoAnalysis int
Результат System

Описание свойств

AccountFailuresFrequentPassword публичное свойство

public DecayingDouble,StopGuessing.DataStructures AccountFailuresFrequentPassword
Результат StopGuessing.DataStructures.DecayingDouble

AccountFailuresInfrequentPassword публичное свойство

public DecayingDouble,StopGuessing.DataStructures AccountFailuresInfrequentPassword
Результат StopGuessing.DataStructures.DecayingDouble

PasswordFailuresNoTypoFrequentPassword публичное свойство

public DecayingDouble,StopGuessing.DataStructures PasswordFailuresNoTypoFrequentPassword
Результат StopGuessing.DataStructures.DecayingDouble

PasswordFailuresNoTypoInfrequentPassword публичное свойство

public DecayingDouble,StopGuessing.DataStructures PasswordFailuresNoTypoInfrequentPassword
Результат StopGuessing.DataStructures.DecayingDouble

PasswordFailuresTypoFrequentPassword публичное свойство

public DecayingDouble,StopGuessing.DataStructures PasswordFailuresTypoFrequentPassword
Результат StopGuessing.DataStructures.DecayingDouble

PasswordFailuresTypoInfrequentPassword публичное свойство

public DecayingDouble,StopGuessing.DataStructures PasswordFailuresTypoInfrequentPassword
Результат StopGuessing.DataStructures.DecayingDouble

RecentPotentialTypos публичное свойство

public SmallCapacityConstrainedSet RecentPotentialTypos
Результат SmallCapacityConstrainedSet

RepeatAccountFailuresFrequentPassword публичное свойство

public DecayingDouble,StopGuessing.DataStructures RepeatAccountFailuresFrequentPassword
Результат StopGuessing.DataStructures.DecayingDouble

RepeatAccountFailuresInfrequentPassword публичное свойство

public DecayingDouble,StopGuessing.DataStructures RepeatAccountFailuresInfrequentPassword
Результат StopGuessing.DataStructures.DecayingDouble

RepeatPasswordFailuresNoTypoFrequentPassword публичное свойство

public DecayingDouble,StopGuessing.DataStructures RepeatPasswordFailuresNoTypoFrequentPassword
Результат StopGuessing.DataStructures.DecayingDouble

RepeatPasswordFailuresNoTypoInfrequentPassword публичное свойство

public DecayingDouble,StopGuessing.DataStructures RepeatPasswordFailuresNoTypoInfrequentPassword
Результат StopGuessing.DataStructures.DecayingDouble

RepeatPasswordFailuresTypoFrequentPassword публичное свойство

public DecayingDouble,StopGuessing.DataStructures RepeatPasswordFailuresTypoFrequentPassword
Результат StopGuessing.DataStructures.DecayingDouble

RepeatPasswordFailuresTypoInfrequentPassword публичное свойство

public DecayingDouble,StopGuessing.DataStructures RepeatPasswordFailuresTypoInfrequentPassword
Результат StopGuessing.DataStructures.DecayingDouble

SuccessfulLogins публичное свойство

public DecayingDouble,StopGuessing.DataStructures SuccessfulLogins
Результат StopGuessing.DataStructures.DecayingDouble