interface HardCodedUserOptions {
    hashFunction?: HashFunction;
    invalidUserMessage?:
        | string
        | object
        | unstable_createBasicAuthMiddleware.MessageFunction;
    realm?: string;
    user: User
    | User[];
}

Hierarchy

  • BaseOptions
    • HardCodedUserOptions

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.

user: User | User[]