Method

PurpleCredentialManagerread_password_async

unstable since: 3.0

Declaration [src]

void
purple_credential_manager_read_password_async (
  PurpleCredentialManager* manager,
  PurpleAccount* account,
  GCancellable* cancellable,
  GAsyncReadyCallback callback,
  gpointer data
)

Description [src]

Reads the password for account using the active provider of manager.

Available since: 3.0

This method completes asynchronously. Use purple_credential_manager_read_password_finish() inside the GAsyncReadyCallback to obtain the result of the operation.

Parameters

account

Type: PurpleAccount

The associated account.

The data is owned by the caller of the method.
cancellable

Type: GCancellable

An optional cancellable.

The argument can be NULL.
The data is owned by the caller of the method.
callback

Type: GAsyncReadyCallback

A callback to call when the request is satisfied.

The argument can be NULL.
data

Type: gpointer

User data to pass to callback.

The argument can be NULL.
The data is owned by the caller of the method.