Skip to content

Commit

Permalink
docs(options): add explanation for jwtPublicKey (graphile#1405)
Browse files Browse the repository at this point in the history
Co-authored-by: Benjie Gillam <benjie@jemjie.com>
  • Loading branch information
manmaor and benjie authored Nov 27, 2020
1 parent 06d4196 commit 47b4679
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/interfaces.ts
Original file line number Diff line number Diff line change
Expand Up @@ -234,6 +234,7 @@ export interface PostGraphileOptions<
// the `Authorization` header, and signing JWT tokens you return in
// procedures.
jwtSecret?: jwt.Secret;
// The public key to verify the JWT when signed with RS265 or ES256 algorithms.
jwtPublicKey?: jwt.Secret | jwt.GetPublicKeyOrSecret;
// Options with which to perform JWT verification - see
// https://github.com/auth0/node-jsonwebtoken#jwtverifytoken-secretorpublickey-options-callback
Expand Down

0 comments on commit 47b4679

Please sign in to comment.