express-gateway-plugin-oauth
Advanced tools
Comparing version 4.1.5 to 4.1.6
{ | ||
"name": "express-gateway-plugin-oauth", | ||
"version": "4.1.5", | ||
"version": "4.1.6", | ||
"description": "Plugin para solicitar autorização do serviço de autenticação remoto.", | ||
@@ -5,0 +5,0 @@ "main": "manifest.js", |
@@ -10,3 +10,3 @@ const validateAuthorizationRole = (authorizedRoles, userDetails) => { | ||
if (userDetails.authorities.filter(e => authorizedRoles.includes(e.authority)).size > 0) { | ||
if (userDetails.authorities.filter(e => authorizedRoles.includes(e.authority)).length > 0) { | ||
return resolve(); | ||
@@ -13,0 +13,0 @@ } else { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
7330