Methods
(private, inner) assertLogin()
Middleware to be executed before each request that ensures the client has already
authenticated before calling any methods
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
|
Throws:
-
If the request fails
- Type
- FailedLoginError
(async, private, inner) loginFacebook()
Not implemented
Throws:
UnavailableLoginProviderError
(async, private, inner) loginGoogle()
Not implemented
Throws:
UnavailableLoginProviderError
(async, private, inner) loginTwitter()
Not implemented
Throws:
UnavailableLoginProviderError