@xtandard/flags/auth/basic
HTTP Basic authentication: basicAuth, with scrypt password hashes
(hashPassword, verifyPassword) or your own password verifier.
Entry point for the @xtandard/flags/auth/basic subpath export.
import { … } from "@xtandard/flags/auth/basic";Functions
Section titled “Functions”| Name | Summary |
|---|---|
basicAuth |
Create an HTTP Basic AuthProvider. Unauthenticated requests get a WWW-Authenticate: Basic realm="xtandard-flags" challenge (or your realm). |
Type aliases
Section titled “Type aliases”| Name | Summary |
|---|---|
BasicAuthOptions |
Options for basicAuth. realm defaults to "xtandard-flags". |