create_account


Description:

public Account create_account (string provider_name)

Create a new account.

The account is not stored in the database until store has successfully returned; the id field in the Account structure is also not meant to be valid until the account has been stored.

Parameters:

this

the Manager.

provider_name

name of the provider of the account.

Returns:

a new Account, or null.