login2_async
Description:
[ Version ( since = "1.26" ) ]
public async UserInformation login2_async (string email, string password, string? otp, Cancellable? cancellable) throws Error
public async UserInformation login2_async (string email, string password, string? otp, Cancellable? cancellable) throws Error
Asynchronously get authorization to install/remove snaps.
See login2_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. |