login_async


Description:

public async bool login_async (ulong user_type, uint8[]? pin, Cancellable? cancellable) throws Error

Login the user on the session.

This call will return immediately and completes asynchronously.

Parameters:

this

Log in to this session.

user_type

The type of login user.

pin

the user's PIN, or null for protected authentication path

cancellable

Optional cancellation object, or null.

callback

Called when the operation completes.

n_pin

The length of the PIN.

user_data

Data to pass to the callback.