Gck.Session.prototype.set_pin_async
function set_pin_async(old_pin: ByteArray, n_old_pin: Number(gsize), new_pin: ByteArray, cancellable: Gio.Cancellable, callback: Gio.AsyncReadyCallback): void { // Gjs wrapper for gck_session_set_pin_async() }
Change the user's pin on this slot that this session is opened on.
This call will return immediately and completes asynchronously.
- old_pin
the user's old PIN, or null for protected authentication path
- n_old_pin
the length of the old PIN
- new_pin
the user's new PIN, or null for protected authentication path
- cancellable
Optional cancellation object, or NULL.
- callback
Called when the operation completes.