Skip to content

Commit

Permalink
made schema more explicit
Browse files Browse the repository at this point in the history
  • Loading branch information
Brady-Conn committed Jul 17, 2020
1 parent bccffbf commit 7ae36e8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/policies/jwt/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ module.exports = {
},
algorithms: {
type: 'array',
items: { type: 'string', enum: ['HS256', 'HS384', 'HS512', 'RS256', 'RS384', 'RS512'] },
description: 'If defined, limits valid jwts to specified algorithms'
}
},
Expand Down

0 comments on commit 7ae36e8

Please sign in to comment.