login


Description:

public bool login (ulong user_type, uint8[]? pin, Cancellable? cancellable = null) throws Error

Login the user on the session.

This call may block for an indefinite period.

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.

n_pin

The length of the PIN.

Returns:

Whether successful or not.