Polkit.AuthorizationResult – polkit-gobject-1 Reference Manual
Packages
polkit-gobject-1
Polkit
AuthorizationResult
AuthorizationResult
get_details
get_dismissed
get_is_authorized
get_is_challenge
get_retains_authorization
get_temporary_authorization_id
AuthorizationResult
Object Hierarchy:
Description:
[
CCode
( type_id =
"polkit_authorization_result_get_type ()"
) ]
public
class
AuthorizationResult
:
Object
This class represents the result you get when checking for an authorization.
Namespace:
Polkit
Package:
polkit-gobject-1
Content:
Creation methods:
public
AuthorizationResult
(
bool
is_authorized,
bool
is_challenge,
Details
? details)
Creates a new
AuthorizationResult
object.
Methods:
public
unowned
Details
?
get_details
()
Gets the details about the result.
public
bool
get_dismissed
()
Gets whether the authentication request was dismissed / canceled by the user.
public
bool
get_is_authorized
()
Gets whether the subject is authorized.
public
bool
get_is_challenge
()
Gets whether the subject is authorized if more information is provided.
public
bool
get_retains_authorization
()
Gets whether authorization is retained if obtained via authentication.
public
unowned
string
?
get_temporary_authorization_id
()
Gets the opaque temporary authorization id for
this
if
this
indicates the subject is authorized and the authorization is temporary rather than one-shot or permanent.
Inherited Members:
All known members inherited from class GLib.Object
@get
@new
@ref
@set
add_toggle_ref
add_weak_pointer
bind_property
connect
constructed
disconnect
dispose
dup_data
dup_qdata
force_floating
freeze_notify
get_class
get_data
get_property
get_qdata
get_type
getv
interface_find_property
interface_install_property
interface_list_properties
is_floating
new_valist
new_with_properties
newv
notify
notify_property
ref_count
ref_sink
remove_toggle_ref
remove_weak_pointer
replace_data
replace_qdata
set_data
set_data_full
set_property
set_qdata
set_qdata_full
set_valist
setv
steal_data
steal_qdata
thaw_notify
unref
watch_closure
weak_ref
weak_unref