enumerate_temporary_authorizations_sync


Description:

public List<TemporaryAuthorization> enumerate_temporary_authorizations_sync (Subject subject, Cancellable? cancellable = null) throws Error

Synchronousky gets all temporary authorizations for subject.

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

Parameters:

this

A Authority.

subject

A Subject, typically a UnixSession.

cancellable

A Cancellable or null.

Returns:

A list of TemporaryAuthorization objects or null if throws is set. The returned list should be freed with g_list_free after each element have been freed with unref.