get_auth_data


Description:

public AuthData get_auth_data ()

Reads the authentication data stored in the account (merging the service-specific settings with the global account settings) and returns an AuthData structure.

The method and mechanism are read from the "auth/method" and "auth/mechanism" keys, respectively. The authentication parameters are found under the "auth/<method>/<mechanism>/" group.

Parameters:

this

the AccountService.

Returns:

a newly allocated AuthData structure.