Skip to content

Commit

Permalink
chore: denoify
Browse files Browse the repository at this point in the history
  • Loading branch information
yusukebe committed May 24, 2024
1 parent 03f1617 commit cd667e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion deno_dist/middleware/jwt/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ declare module '../../context.ts' {
* @see {@link https://hono.dev/middleware/builtin/jwt}
*
* @param {object} options - The options for the JWT middleware.
* @param {string} options.secret - A value of your secret key.
* @param {string} [options.secret] - A value of your secret key.
* @param {string} [options.cookie] - If this value is set, then the value is retrieved from the cookie header using that value as a key, which is then validated as a token.
* @param {SignatureAlgorithm} [options.alg=HS256] - An algorithm type that is used for verifying. Available types are `HS256` | `HS384` | `HS512` | `RS256` | `RS384` | `RS512` | `PS256` | `PS384` | `PS512` | `ES256` | `ES384` | `ES512` | `EdDSA`.
* @returns {MiddlewareHandler} The middleware handler function.
Expand Down

0 comments on commit cd667e5

Please sign in to comment.