exports = module.exports = function(format, sts) {
  
  return function issue(claims, recipient, presenter, options, cb) {
    if (typeof options == 'function') {
      cb = options;
      options = undefined;
    }
    options = options || {};
    
    sts.issue(claims, recipient, presenter, function(err, token, params) {
      if (err) { return cb(err); }
      params = params || {};
      
      format(params, presenter, function(err, attrs) {
        if (err) { return cb(err); }
        return cb(null, token, attrs);
      });
    });
  };
};

exports['@implements'] = 'http://schemas.authnomicon.org/js/aaa/oauth2/util/issueToken';
exports['@require'] = [
  './format',
  'http://schemas.authnomicon.org/js/sts'
];

@@ -67,30 +67,31 @@
 ction issue(
-claims
+message
 , recipient,
@@ -262,14 +262,15 @@
 sue(
-claims
+message
 , re

Clarify arguments.