GData.AuthorizerInterface¶
Fields¶
Name |
Type |
Access |
Description |
---|---|---|---|
is_authorized_for_domain |
r |
a function to check whether the authorizer is authorized against the given domain; this must be implemented and must be thread safe |
|
parent |
r |
the parent type |
|
process_request |
r |
a function to append authorization headers to queries before they are submitted to the online service under the given authorization domain (which may be |
|
refresh_authorization |
r |
a function to force a refresh of any authorization tokens the authorizer holds, returning |
|
refresh_authorization_async |
r |
an asynchronous version of refresh_authorization; if this isn’t implemented and refresh_authorization is, refresh_authorization will be called in a thread to simulate this function, whereas if this is implemented refresh_authorization_finish must also be implemented and both functions must be thread safe |
|
refresh_authorization_finish |
r |
a finish function for the asynchronous version of refresh_authorization; this must be implemented exactly if refresh_authorization_async is implemented, and must be thread safe if it is implemented |
Methods¶
None
Details¶
- class GData.AuthorizerInterface¶
The class structure for the
GData.Authorizer
interface.New in version 0.9.0.