Skip to content

Commit 17449f5

Browse files
docs(bearer-auth): fix typo (#4238)
1 parent 946fcf4 commit 17449f5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/middleware/bearer-auth/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ type BearerAuthOptions =
5050
* @param {string} [options.headerName=Authorization] - The header name.
5151
* @param {Function} [options.hashFunction] - A function to handle hashing for safe comparison of authentication tokens.
5252
* @param {string | object | MessageFunction} [options.noAuthenticationHeaderMessage="Unauthorized"] - The no authentication header message.
53-
* @param {string | object | MessageFunction} [options.invalidAuthenticationHeaderMeasage="Bad Request"] - The invalid authentication header message.
53+
* @param {string | object | MessageFunction} [options.invalidAuthenticationHeaderMessage="Bad Request"] - The invalid authentication header message.
5454
* @param {string | object | MessageFunction} [options.invalidTokenMessage="Unauthorized"] - The invalid token message.
5555
* @returns {MiddlewareHandler} The middleware handler function.
5656
* @throws {Error} If neither "token" nor "verifyToken" options are provided.

0 commit comments

Comments
 (0)