Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
() =>
explanations
? match(explanations, newRequestedScopes, {
currentAuthorizationId: null,
currentGrantId: grantId,
currentUserId: userId,
currentClientId: clientId
})
: [],
[explanations, newRequestedScopes, clientId, grantId, userId]
() =>
explanations && grantedScopes
? match(explanations, grantedScopes, {
currentAuthorizationId: null,
currentGrantId: grantId,
currentUserId: userId,
currentClientId: clientId
})
: [],
[explanations, grantedScopes, clientId, grantId, userId]