The 'manual' procedure for creating BOINC accounts is as follows. A participant must: and then for each selected project:

If the participant chooses N projects, there are N forms to fill out, N emails to handle, and N dialog interactions with the BOINC client. This is tedious if there are lots of projects. Furthermore, it involves cutting and pasting long random strings, which is intimidating to some participants.

This document describes BOINC's support for account management systems, which streamline the process of finding and joining BOINC projects. A typical account management system is implemented as a web site. The participant experience is:

This requires about 1/3 of the interactions of the manual approach, and avoids dealing with long random strings.

Implementation

An account management system works as follows:

  1. The participant sets up his meta-account and selects projects.
  2. The account manager issues a create account RPC to each selected project.
  3. The project creates an account (marked as 'unconfirmed') and sends an email to the participant.
  4. The participant opens the email and clicks on a link in it, causing the account to be marked as 'confirmed'.
  5. The account manager periodically polls each selected project with a query account RPC, waiting for all accounts to become confirmed.
  6. When all accounts are confirmed, the participant downloads and installs the BOINC client software from the account manager. The install package includes a file (specific to this account manager) containing the URL of the account manager.
  7. The BOINC client runs, and asks the participant to enter the name and password of his meta-account.
  8. The BOINC client does a query accounts RPC to the account manager, obtaining a list of accounts. It then attaches to these accounts and proceeds.

This architecture involves two RPC mechanisms:

This document describes these two RPC mechanisms. The underlying protocol of both mechanisms is as follows:

Account creation RPCs

The RPC functions are as follows:

Create account

"; list_start(); list_item("URL", "project_url/am_create.php"); list_item( "input", "email address
nonce ID (crypto-random string)" ); list_item( "output", "status (integer; 0=success)" ); list_item( "action", "The server creates a tentative account. The server sends email to the given address, of the form:
Someone (hopefully you) joined [project name] with this email address.
To confirm your participation in [project name] please visit the following URL:
    xxx

If you do not want to participate in [project name], just ignore this message.
        
When the participant visits xxx, the account is confirmed. "); list_end(); echo "

Query account

"; list_start(); list_item("URL", "project_url/am_query.php"); list_item("input", "nonce ID" ); list_item("output", "status (integer; 0 means account has been confirmed)
account key (string) " ); list_item("action", "If the account has been confirmed, return status=0 and the account key." ); list_end(); echo "

Get account info

"; list_start(); list_item("URL", "project_url/am_get_info.php"); list_item("input", "account key"); list_item("output", "status (integer)
name (string)
country (string)
postal_code (string)
global_prefs (XML string)
project_prefs (XML string)
url (string)
send_email (integer)
show_hosts (integer) " ); list_end(); echo "

Set account info

"; list_start(); list_item("URL", "project_url/am_set_info.php"); list_item("input", "account key
name (string)
country (string)
postal_code (string)
global_prefs (XML string)
project_prefs (XML string)
url (string)
send_email (integer)
show_hosts (integer) " ); list_item("output", "status (integer)"); list_end(); echo "

Account manager RPCs

"; list_start(); list_item("URL", "Given in the file account_manager_url.xml, included in the installer" ); list_item("input", "name (string)
password (string)" ); list_item("output", "url1, key1, ..., urln, keyn: list of accounts. Each account consists of a (URL, account key) pair." ); list_end(); page_tail(); ?>