Function

AstalAuthPamauthenticate

Declaration

gboolean
astal_auth_pam_authenticate (
  const gchar* password,
  GAsyncReadyCallback result_callback,
  gpointer user_data
)

Description

Requests authentication of the provided password using the PAM (Pluggable Authentication Modules) system.

This function completes asynchronously. Use astal_auth_pam_authenticate_finish() inside the GAsyncReadyCallback to obtain the result of the operation.

Parameters

password

Type: const gchar*

The password to be authenticated.

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

Type: GAsyncReadyCallback

A GAsyncReadyCallback to call when the request is satisfied.

user_data

Type: gpointer

The data to pass to callback function.

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

Return value

Type: gboolean

No description available.