[ 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.
| identity |
The identity to authenticate. |
| cookie |
The cookie obtained from the PolicyKit daemon |