Skip to main content
zerotal

Documentation


Documentation / @zerotal/auth / CompromisedCheckOptions

Interface: CompromisedCheckOptions

Defined in: auth/src/CompromisedPassword.ts:17

Properties

threshold?

optional threshold?: number

Defined in: auth/src/CompromisedPassword.ts:22

Minimum number of breach appearances to count as compromised. Default 1 (any appearance). Raise it to tolerate very common-but-low-risk hits.


endpoint?

optional endpoint?: string

Defined in: auth/src/CompromisedPassword.ts:24

Override the range-API endpoint (for testing / self-hosting).