Module: Authentication

Methods

(private, inner) assertLogin()

Middleware to be executed before each request that ensures the client has already authenticated before calling any methods
Source:
Throws:
If the client has not authenticated
Type
NotLoggedInError

(async, private, inner) loginEmail(credentials)

Executes a login operation via e-mail, using an e-mail and a password.
Parameters:
Name Type Description
credentials Object Credentials used on login
Properties
Name Type Description
username string E-mail of the account
password string Password of the account
Source:
Throws:
If the request fails
Type
FailedLoginError

(async, private, inner) loginFacebook()

Not implemented
Source:
Throws:
UnavailableLoginProviderError

(async, private, inner) loginGoogle()

Not implemented
Source:
Throws:
UnavailableLoginProviderError

(async, private, inner) loginTwitter()

Not implemented
Source:
Throws:
UnavailableLoginProviderError