identify_account_async


Description:

[ Version ( since = "0.23.1" ) ]
public async string identify_account_async (Variant vardict, Cancellable? cancellable) throws Error

Return a string that could identify the account with the given parameters.

In most protocols that string is a normalized 'account' parameter, but some protocols have more complex requirements; for instance, on IRC, the 'account' (nickname) is insufficient, and must be combined with a server or network name.

Parameters:

this

a protocol

vardict

the account parameters as a Variant of type VARDICT. If it is floating, ownership will be taken, as if via g_variant_ref_sink.

cancellable

may be used to cancel the async request

callback

a callback to call when the request is satisfied

user_data

data to pass to callback