Fix the jsdoc for User.login

This commit is contained in:
Raymond Feng 2014-11-03 14:07:19 -08:00
parent e1b5d1edae
commit 842d9b0bcd
1 changed files with 6 additions and 4 deletions

View File

@ -117,10 +117,12 @@ User.normalizeCredentials = function(credentials, realmRequired, realmDelimiter)
* }); * });
* ``` * ```
* *
* @param {Object} credentials * @param {Object} credentials username/password or email/password
* @callback {Function} callback * @param {String[]|String} [include] Optionally set it to "user" to include
* @param {Error} err * the user info
* @param {AccessToken} token * @callback {Function} callback Callback function
* @param {Error} err Error object
* @param {AccessToken} token Access token if login is successful
*/ */
User.login = function(credentials, include, fn) { User.login = function(credentials, include, fn) {