Interface
MsgAuthorizer
Prerequisite
In order to implement Authorizer, your type must inherit fromGObject
.
Instance methods
msg_authorizer_process_request
Adds the necessary authorization to message
. The type of message
can be DELETE, GET and POST.
msg_authorizer_refresh_authorization
Synchronously forces iface
to refresh any authorization tokens
held by it. See msg_authorizer_refresh_authorization_async()
for the
asynchronous version of this call.
Interface structure
struct MsgAuthorizerInterface {
GTypeInterface parent_iface;
void (* process_request) (
MsgAuthorizer* iface,
SoupMessage* message
);
gboolean (* refresh_authorization) (
MsgAuthorizer* iface,
GCancellable* cancellable,
GError** error
);
}
Interface structure for MsgAuthorizer
. All methods should be
thread safe.
Interface members
parent_iface |
|
The parent interface. |
|
process_request |
|
No description available. | |
refresh_authorization |
|
No description available. |
Virtual methods
Msg.Authorizer.process_request
Adds the necessary authorization to message
. The type of message
can be DELETE, GET and POST.
Msg.Authorizer.refresh_authorization
Synchronously forces iface
to refresh any authorization tokens
held by it. See msg_authorizer_refresh_authorization_async()
for the
asynchronous version of this call.