Authorizer
Object Hierarchy:
GData.Authorizer
GData.Authorizer
GData.Authorizer
GLib.Object
GLib.Object
GLib.Object->GData.Authorizer
Description:
[ CCode ( type_cname = "GDataAuthorizerInterface" , type_id = "gdata_authorizer_get_type ()" ) ] [ Version ( since = "0.9.0" ) ]public interface Authorizer : Object
All the fields in the Authorizer structure are private and should never be accessed directly.
All known implementing classes:
Content:
Methods:
public abstract bool is_authorized_for_domain (AuthorizationDomain domain)
Returns whether the Authorizer instance
believes it's currently authorized to access the given domain
.
public abstract void process_request (AuthorizationDomain ? domain, Message message)
Processes message
, adding all the necessary extra headers
and parameters to ensure that it's correctly authenticated and authorized under the given domain
for the online service.
public abstract bool refresh_authorization (Cancellable ? cancellable = null ) throws Error
Forces the Authorizer to refresh any
authorization tokens it holds with the online service.
public abstract async bool refresh_authorization_async (Cancellable ? cancellable) throws Error
Forces the Authorizer to refresh any
authorization tokens it holds with the online service.
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