Gio.TlsPassword.prototype.get_value

function get_value(length: Number(gsize)): Number(guint8) {
    // Gjs wrapper for g_tls_password_get_value()
}
  

Get the password value. If length is not null then it will be filled in with the length of the password value. (Note that the password value is not nul-terminated, so you can only pass null for length in contexts where you know the password will have a certain fixed length.)

Since 2.30

length

location to place the length of the password.

Returns

The password value (owned by the password object).