Skip to content

Commit 0738949

Browse files
committed
docs(jwk): add description verification option
1 parent da1c3b3 commit 0738949

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

docs/middleware/builtin/jwk.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,3 +118,7 @@ If this value is set, then the value is retrieved from the cookie header using t
118118
### <Badge type="info" text="optional" /> headerName: `string`
119119

120120
The name of the header to look for the JWT token. The default is `Authorization`.
121+
122+
### <Badge type="info" text="optional" /> verification: `VerifyOptions`
123+
124+
If this option is set, you can specify validation rules for claims in the JWT payload (`iss` / `aud` / `exp` / `nbf` / `iat`), in addition to signature verification.

0 commit comments

Comments
 (0)