Issues an async Http POST to the authentication endpoint (/token) using email-based login. Returns (Task<Tuple<System.Boolean, System.String, System.String».)
Overview of EmailLoginAsync goes here.
| Name | Description |
|---|---|
| The email address of the user. | |
| password | The password. |
| newPassword | Optional parameter, used to supply a new password for a valid user, when the user must change password on next login. |
| onetimePassword | Optional parameter, used if the user has enabled Two Factor Authentication. |
| sendOnetimePassword | if set to true and a valid email and password have been provided, then a One Time Password will be calculated and sent by SMS text to the Mobile phone of the user. |
Example in C#
// Returns: String
var item = await client.EmailLoginAsync(String email, String password, String newPassword, String onetimePassword, Boolean sendOnetimePassword);