Method

GoaPasswordBasedcomplete_get_password

since: 3.6.0

Declaration [src]

void
goa_password_based_complete_get_password (
  GoaPasswordBased* object,
  GDBusMethodInvocation* invocation,
  const gchar* password
)

Description [src]

Helper function used in service implementations to finish handling invocations of the GetPassword() D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar.

This method will free invocation, you cannot use it afterwards.

Available since: 3.6.0

Parameters

invocation

Type: GDBusMethodInvocation

A GDBusMethodInvocation.

The instance takes ownership of the data, and is responsible for freeing it.
password

Type: const gchar*

Parameter to return.

The data is owned by the caller of the method.
The value is a NUL terminated UTF-8 string.