Module: authenticateStaff

(require("authenticateStaff"))(user, pass, domainopt) → {promise}

Authenticates staff credentials
Parameters:
Name Type Attributes Default Description
user string your staff user's username
pass string your staff user's password
domain string <optional>
config.domain hint: your domain is listed when signing into polaris via staff client
Source:
Returns:
Type
promise
Example
myPapi.authenticateStaff('vance', 'my-password')
     .then(function(response) {
         console.log(response.data);
     });