Skip to content

Commit 47b4679

Browse files
manmaorbenjie
andauthored
docs(options): add explanation for jwtPublicKey (#1405)
Co-authored-by: Benjie Gillam <[email protected]>
1 parent 06d4196 commit 47b4679

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/interfaces.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -234,6 +234,7 @@ export interface PostGraphileOptions<
234234
// the `Authorization` header, and signing JWT tokens you return in
235235
// procedures.
236236
jwtSecret?: jwt.Secret;
237+
// The public key to verify the JWT when signed with RS265 or ES256 algorithms.
237238
jwtPublicKey?: jwt.Secret | jwt.GetPublicKeyOrSecret;
238239
// Options with which to perform JWT verification - see
239240
// https://github.com/auth0/node-jsonwebtoken#jwtverifytoken-secretorpublickey-options-callback

0 commit comments

Comments
 (0)