File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed
src/middleware/bearer-auth Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -50,7 +50,7 @@ type BearerAuthOptions =
50
50
* @param {string } [options.headerName=Authorization] - The header name.
51
51
* @param {Function } [options.hashFunction] - A function to handle hashing for safe comparison of authentication tokens.
52
52
* @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.
54
54
* @param {string | object | MessageFunction } [options.invalidTokenMessage="Unauthorized"] - The invalid token message.
55
55
* @returns {MiddlewareHandler } The middleware handler function.
56
56
* @throws {Error } If neither "token" nor "verifyToken" options are provided.
You can’t perform that action at this time.
0 commit comments