lookup_sync


Description:

public virtual bool lookup_sync (Source source, Cancellable? cancellable, out NamedParameters out_credentials) throws Error

Asks this to lookup for stored credentials for source.

The out_credentials is populated with them. If the result is not null, then it should be freed with free when no longer needed.

Default implementation returns false and sets NOT_SUPPORTED error.

If an error occurs, the function sets error and returns false.

Parameters:

this

an SourceCredentialsProviderImpl

source

an Source

cancellable

optional Cancellable object, or null

out_credentials

an NamedParameters to be set with stored credentials

Returns:

true on success, false on error