MCPcopy Index your code
hub / github.com/LionC/express-basic-auth / IUsersOptions

Interface IUsersOptions

express-basic-auth.d.ts:90–100  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

88 }
89
90 interface IUsersOptions extends IBaseOptions {
91 /**
92 * If you simply want to check basic auth against one or multiple static credentials, you can pass those
93 * credentials in the users option.
94 *
95 * Example:
96 * const users = { alice: '1234', bob: 'correcthorsebatterystaple' }
97 * app.use(basicAuth({ users, challenge: true }), myHandler)
98 */
99 users: { [username: string]: string }
100 }
101
102 interface IAuthorizerOptions extends IBaseOptions {
103 /**

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…