Gck.Session.prototype.set_pin
function set_pin(old_pin: ByteArray, new_pin: ByteArray, cancellable: Gio.Cancellable): Boolean {
// Gjs wrapper for gck_session_set_pin()
}
Change the user's pin on this slot that this session is opened on.
This call may block for an indefinite period.
- old_pin
the user's old PIN, or null for protected authentication path.
- new_pin
the user's new PIN, or null for protected authentication path
- cancellable
Optional cancellation object, or NULL.
- Returns
Whether successful or not.