lib/authenticate.js
function validateAskPermission (token) {
  const header = jwt.decode(token)

  return validateToken(token) && header[ASK_CLAIM_KEY]
}
function validateAskPermission (token) {
  const header = jwt.decode(token)

  return validateToken(token) && header[ASK_CLAIM_KEY]
}
function validateAskPermission ( token ) { const header = jwt . decode ( token ) return validateToken ( token ) && header [ ASK_CLAIM_KEY ] }
Check that a JWT has Ask terms accepted.
Check that a JWT has Ask terms accepted .