mirror of
https://github.com/documentationjs/documentation.git
synced 2026-02-01 14:53:07 +00:00
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.
449 B
449 B
sessions.create
Attempt to establish a cookie-based session in exchange for credentials.
Parameters
-
credentialsobject-
credentials.namestring Login username. Also accepted asusernameoremail. -
credentials.passwordstring Login password
-
-
callback[function] Gets passed(err, { success:Boolean }).
Returns Promise promise, to be resolved on success or rejected on failure