authentication_agent_response_sync


Description:

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

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

See authentication_agent_response for limitations on who is allowed is to call this method.

The calling thread is blocked until a reply is received. See authentication_agent_response for the asynchronous version.

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.

Returns:

true if this acknowledged the call, false if throws is set.