Gcr.Prompt.prototype.password_async

function password_async(cancellable: Gio.Cancellable, callback: Gio.AsyncReadyCallback): void {
    // Gjs wrapper for gcr_prompt_password_async()
}
  

Prompts for password. Set the various properties on the prompt before calling this method to explain which password should be entered.

This method will return immediately and complete asynchronously.

cancellable

optional cancellation object

callback

called when the operation completes