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 954df8f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/policies/jwt/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,8 @@ module.exports = {
},
algorithms: {
type: 'array',
description: 'If defined, limits valid jwts to specified algorithms'
description: 'If defined, limits valid jwts to specified algorithms',
items: { type: 'string', enum: ['HS256', 'HS384', 'HS512', 'RS256', 'RS384', 'RS512'] }
}
},
required: ['jwtExtractor', 'checkCredentialExistence'],
Expand Down

0 comments on commit 954df8f

Please sign in to comment.