BasicAuthOptions
Defined in: src/auth/basic.ts:121
Options for basicAuth.
Properties
Section titled “Properties”| Property | Type | Description | Defined in |
|---|---|---|---|
passwordVerifier? |
(username, password) => boolean | Promise<boolean> |
Custom verifier. When supplied it takes precedence over passwordHash and password for matched users — delegate to your own credential store and return true to accept. |
src/auth/basic.ts:134 |
realm? |
string |
Realm advertised in the WWW-Authenticate header on challenge. Default “xtandard” (products pass their own, e.g. "xtandard-webhooks") |
src/auth/basic.ts:128 |
users |
BasicAuthUser[] |
The known users. | src/auth/basic.ts:123 |