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 8a957db
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/policies/jwt/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,9 @@ 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 8a957db

Please sign in to comment.