Skip to content

Commit d919416

Browse files
committed
docs(readme): add new options parameters
1 parent 9b01316 commit d919416

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,8 @@ option | description | default value
8282
------ | ----------- | -------------
8383
`pathname`| The path that the middleware redirects to | `/api/auth`
8484
`users`| A list of users that can authenticate | `[]`
85+
`message`| Message to display to the user when authentication fails | `Authentication failed`
86+
`realm` | Realm to show in the WWW-Authenticate header | `protected`
8587

8688
The user object consists of the following required fields:
8789

@@ -111,5 +113,3 @@ The package is optimized and bundled with Rollup into multiple formats (CommonJS
111113
Runs the test watcher (Jest) in an interactive mode.
112114
By default, runs tests related to files changed since the last commit.
113115

114-
115-
This project was bootstrapped with [TSDX](https://github.com/jaredpalmer/tsdx).

0 commit comments

Comments
 (0)