login_async
Description:
[ Version ( deprecated = true , deprecated_since = "1.26" , since = "1.0" ) ]
public async AuthData login_async (string email, string password, string? otp, Cancellable? cancellable) throws Error
public async AuthData login_async (string email, string password, string? otp, Cancellable? cancellable) throws Error
Warning: login_async is deprecated since 1.26.
Asynchronously get authorization to install/remove snaps.
Note:
Use login2_async
See login_sync for more information.
Parameters:
| this |
a Client. |
|
email address to log in with. |
|
| password |
password to log in with. |
| otp |
response to one-time password challenge. |
| cancellable |
a Cancellable or null. |
| callback |
a TaskReadyCallback to call when the request is satisfied. |
| user_data |
the data to pass to callback function. |