Table of Contents

Struct AuthLockoutSettings

Namespace
FishMMO.Server.Implementation
Assembly
FishMMO.Server.dll

How long a sign-in step stays locked, and how many failures inside how long a window lock it.

public readonly struct AuthLockoutSettings
Inherited Members

Constructors

AuthLockoutSettings(int, TimeSpan, TimeSpan)

Creates the settings.

public AuthLockoutSettings(int threshold, TimeSpan window, TimeSpan lockout)

Parameters

threshold int
window TimeSpan
lockout TimeSpan

Fields

Lockout

How long the step stays locked once the threshold is reached.

public readonly TimeSpan Lockout

Field Value

TimeSpan

Threshold

Failures inside Window that lock the step.

public readonly int Threshold

Field Value

int

Window

The window failures are counted in.

public readonly TimeSpan Window

Field Value

TimeSpan