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
Fields
Lockout
How long the step stays locked once the threshold is reached.
public readonly TimeSpan Lockout
Field Value
Threshold
Failures inside Window that lock the step.
public readonly int Threshold
Field Value
Window
The window failures are counted in.
public readonly TimeSpan Window