g_slice_free (MechanismCbData, data);
}
+/**
+ * SignonQueryMethodsCb:
+ * @auth_service: the #SignonAuthService.
+ * @methods: (transfer full) (type GStrv): list of available methods.
+ * @error: a #GError if an error occurred, %NULL otherwise.
+ * @user_data: the user data that was passed when installing this callback.
+ */
+
/**
* signon_auth_service_query_methods:
* @auth_service: the #SignonAuthService.
cb_data);
}
+/**
+ * SignonQueryMechanismCb:
+ * @auth_service: the #SignonAuthService.
+ * @method: the authentication method being inspected.
+ * @mechanisms: (transfer full) (type GStrv): list of available mechanisms.
+ * @error: a #GError if an error occurred, %NULL otherwise.
+ * @user_data: the user data that was passed when installing this callback.
+ */
+
/**
* signon_auth_service_query_mechanisms:
* @auth_service: the #SignonAuthService.
return priv->method_name;
}
+/**
+ * SignonAuthSessionQueryAvailableMechanismsCb:
+ * @self: the #SignonAuthSession.
+ * @mechanisms: (transfer full) (type GStrv): list of available mechanisms.
+ * @error: a #GError if an error occurred, %NULL otherwise.
+ * @user_data: the user data that was passed when installing this callback.
+ */
+
/**
* signon_auth_session_query_available_mechanisms:
* @self: the #SignonAuthSession.
operation_data);
}
+/**
+ * SignonAuthSessionProcessCb:
+ * @self: the #SignonAuthSession.
+ * @session_data: (transfer full) (element-type utf8 GValue): a dictionary with
+ * the response.
+ * @error: a #GError if an error occurred, %NULL otherwise.
+ * @user_data: the user data that was passed when installing this callback.
+ *
+ * This callback is invoked when the authentication plugin delivers the result
+ * of the signon_auth_session_process() operation.
+ */
+
/**
* signon_auth_session_process:
* @self: the #SignonAuthSession.