interface DynamicUserOptions {
    hashFunction?: HashFunction;
    invalidUserMessage?:
        | string
        | object
        | unstable_createBasicAuthMiddleware.MessageFunction;
    realm?: string;
    verifyUser(
        username: string,
        password: string,
        args: unstable_createBasicAuthMiddleware.Args,
    ): boolean | Promise<boolean>;
}

Hierarchy

  • BaseOptions
    • DynamicUserOptions

Properties

hashFunction?: HashFunction
invalidUserMessage?:
    | string
    | object
    | unstable_createBasicAuthMiddleware.MessageFunction
realm?: string

The domain name of the realm, as part of the returned WWW-Authenticate challenge header.

Methods