[**Documentation**](../../../README)

***

[Documentation](../../../README) / [@zerotal/auth](../README) / LoginThrottleOptions

# Interface: LoginThrottleOptions

Defined in: [auth/src/LoginRateLimiter.ts:34](https://github.com/zerotaldev/zerotal/blob/1d6fb26b05b18ba077de1bfaeb46c42131cd8b70/packages/auth/src/LoginRateLimiter.ts#L34)

## Properties

### maxAttempts?

> `optional` **maxAttempts?**: `number`

Defined in: [auth/src/LoginRateLimiter.ts:36](https://github.com/zerotaldev/zerotal/blob/1d6fb26b05b18ba077de1bfaeb46c42131cd8b70/packages/auth/src/LoginRateLimiter.ts#L36)

Failures allowed within the window before lockout. Default: 5.

***

### decaySeconds?

> `optional` **decaySeconds?**: `number`

Defined in: [auth/src/LoginRateLimiter.ts:38](https://github.com/zerotaldev/zerotal/blob/1d6fb26b05b18ba077de1bfaeb46c42131cd8b70/packages/auth/src/LoginRateLimiter.ts#L38)

Window length in seconds; also the lockout duration. Default: 60.
