Authorizer
Interface
constructor
parent
name
is_
authorized_
for_
domain
process_
request
refresh_
authorization
refresh_
authorization_
async
refresh_
authorization_
finish
GJS API Reference
GData-0.0
GData
AuthorizerInterface
Class AuthorizerInterface
The class structure for the #GDataAuthorizer interface.
record
Hierarchy
AuthorizerInterface
Index
Constructors
constructor
Properties
parent
name
Methods
is_
authorized_
for_
domain
process_
request
refresh_
authorization
refresh_
authorization_
async
refresh_
authorization_
finish
Constructors
constructor
new
Authorizer
Interface
(
)
:
GData
.
AuthorizerInterface
Returns
GData
.
AuthorizerInterface
Properties
parent
parent
:
TypeInterface
the parent type
field
Static
name
name
:
string
Methods
is_
authorized_
for_
domain
is_
authorized_
for_
domain
(
self
:
GData
.
Authorizer
, domain
:
GData
.
AuthorizationDomain
)
:
boolean
Parameters
self:
GData
.
Authorizer
domain:
GData
.
AuthorizationDomain
Returns
boolean
process_
request
process_
request
(
self
:
GData
.
Authorizer
, domain
:
GData
.
AuthorizationDomain
, message
:
Soup
.
Message
)
:
void
Parameters
self:
GData
.
Authorizer
domain:
GData
.
AuthorizationDomain
message:
Soup
.
Message
Returns
void
refresh_
authorization
refresh_
authorization
(
self
:
GData
.
Authorizer
, cancellable
:
Gio
.
Cancellable
)
:
boolean
Parameters
self:
GData
.
Authorizer
cancellable:
Gio
.
Cancellable
Returns
boolean
refresh_
authorization_
async
refresh_
authorization_
async
(
self
:
GData
.
Authorizer
, cancellable
:
Gio
.
Cancellable
, callback
:
AsyncReadyCallback
)
:
void
Parameters
self:
GData
.
Authorizer
cancellable:
Gio
.
Cancellable
callback:
AsyncReadyCallback
Returns
void
refresh_
authorization_
finish
refresh_
authorization_
finish
(
self
:
GData
.
Authorizer
, async_result
:
AsyncResult
)
:
boolean
Parameters
self:
GData
.
Authorizer
async_result:
AsyncResult
Returns
boolean
Authorizer
Interface
constructor
parent
name
is_
authorized_
for_
domain
process_
request
refresh_
authorization
refresh_
authorization_
async
refresh_
authorization_
finish
base64:eyJwYWdlTmF2aWdhdGlv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