Session


Description:

[ CCode ( has_construct_function = false ) ]
public Session (Identity identity, string cookie)

Creates a new authentication session.

The caller should connect to the request, show_info, show_error and completed signals and then call initiate to initiate the authentication session.

Parameters:

identity

The identity to authenticate.

cookie

The cookie obtained from the PolicyKit daemon

Returns:

A Session. Free with unref.