Method

MsgAuthorizerrefresh_authorization

Declaration [src]

gboolean
msg_authorizer_refresh_authorization (
  MsgAuthorizer* iface,
  GCancellable* cancellable,
  GError** error
)

Description [src]

Synchronously forces iface to refresh any authorization tokens held by it. See msg_authorizer_refresh_authorization_async() for the asynchronous version of this call.

This method is thread safe.

Parameters

cancellable GCancellable
 

An optional GCancellable object, or NULL.

 The argument can be NULL.
 The data is owned by the caller of the function.
error GError **
  The return location for a GError*, or NULL.

Return value

Returns: gboolean
 

TRUE if the authorizer now has a valid token.