Gck.Session.prototype.logout

function logout(cancellable: Gio.Cancellable): Boolean {
    // Gjs wrapper for gck_session_logout()
}
  

Log out of the session. This call may block for an indefinite period.

cancellable

Optional cancellation object, or NULL.

Returns

Whether the logout was successful or not.