Table of Contents

Class UserLockoutPolicy

Namespace
Geotab.Checkmate.Settings
Assembly
Geotab.Checkmate.ObjectModel.dll

User lockout policy settings.

public class UserLockoutPolicy
Inheritance
UserLockoutPolicy
Inherited Members

Constructors

UserLockoutPolicy()

Initializes a new instance of the UserLockoutPolicy class. Default constructor.

public UserLockoutPolicy()

Properties

FailureAuthenticationsGracePeriod

Gets or sets a value indicating the period of time of limit.

public TimeSpan FailureAuthenticationsGracePeriod { get; set; }

Property Value

TimeSpan

A value indicating the period of time of limit.

FailureAuthenticationsPerGracePeriod

Gets or sets a value indicating how many times a user have to try in FailureAuthenticationsUnitTime.

public int FailureAuthenticationsPerGracePeriod { get; set; }

Property Value

int

A value indicating how many times a user have to try in FailureAuthenticationsUnitTime.

LockoutUnitTime

Gets or sets a value indicating the lockout time if user is over failure limit.

public TimeSpan LockoutUnitTime { get; set; }

Property Value

TimeSpan

A value indicating the lockout time if user is over failure limit.

Methods

Clone()

Creates a new object that is a copy of the current instance.

public object Clone()

Returns

object

A new object that is a copy of this instance.

Equals(object?)

Determines whether the specified object is equal to the current object.

public override bool Equals(object? obj)

Parameters

obj object

The object to compare with the current object.

Returns

bool

true if the specified object is equal to the current object; otherwise, false.

GetHashCode()

Serves as a hash function for a particular type. GetHashCode() is suitable for use in hashing algorithms and data structures like a hash table.

public override int GetHashCode()

Returns

int

A hash code for the current object.