documentation/test/fixture/nearby_params.output.md
Tom MacWright eb1089e594 Stop inferring parameters if fn is within a call.
Fixes #191

This a specific exception for the case identified in 191: we could,
instead, include only cases of clear proximity, like var foo = function,
or function foo.
2015-10-27 17:52:28 -04:00

449 B

sessions.create

Attempt to establish a cookie-based session in exchange for credentials.

Parameters

  • credentials object

    • credentials.name string Login username. Also accepted as username or email.

    • credentials.password string Login password

  • callback [function] Gets passed (err, { success:Boolean }).

Returns Promise promise, to be resolved on success or rejected on failure