authentication_agent_response


Description:

public async bool authentication_agent_response (string cookie, Identity identity, Cancellable? cancellable = null) throws Error

Asynchronously provide response that identity successfully authenticated for the authentication request identified by cookie.

This function is only used by the privileged bits of an authentication agent. It will fail if the caller is not sufficiently privileged ( typically uid 0).

When the operation is finished, callback will be invoked in the <link linkend="g-main-context-push-thread-default"> thread-default main loop</link> of the thread you are calling this method from. You can then call authentication_agent_response.end to get the result of the operation.

Parameters:

this

A Authority.

cookie

The cookie passed to the authentication agent from the authority.

identity

The identity that was authenticated.

cancellable

A Cancellable or null.

callback

A TaskReadyCallback to call when the request is satisfied.

user_data

The data to pass to callback.