Authorizer
Interface
constructor
parent_
iface
name
is_
authorized_
for_
domain
process_
call
process_
message
refresh_
authorization
GJS API Reference
Zpj-0.0
Zpj
AuthorizerInterface
Class AuthorizerInterface
Interface structure for #ZpjAuthorizer. All methods should be thread safe.
record
Hierarchy
AuthorizerInterface
Index
Constructors
constructor
Properties
parent_
iface
name
Methods
is_
authorized_
for_
domain
process_
call
process_
message
refresh_
authorization
Constructors
constructor
new
Authorizer
Interface
(
)
:
Zpj
.
AuthorizerInterface
Returns
Zpj
.
AuthorizerInterface
Properties
parent_
iface
parent_
iface
:
TypeInterface
The parent interface.
field
Static
name
name
:
string
Methods
is_
authorized_
for_
domain
is_
authorized_
for_
domain
(
iface
:
Zpj
.
Authorizer
, domain
:
Zpj
.
AuthorizationDomain
)
:
boolean
Parameters
iface:
Zpj
.
Authorizer
domain:
Zpj
.
AuthorizationDomain
Returns
boolean
process_
call
process_
call
(
iface
:
Zpj
.
Authorizer
, domain
:
Zpj
.
AuthorizationDomain
, call
:
Rest
.
ProxyCall
)
:
void
Parameters
iface:
Zpj
.
Authorizer
domain:
Zpj
.
AuthorizationDomain
call:
Rest
.
ProxyCall
Returns
void
process_
message
process_
message
(
iface
:
Zpj
.
Authorizer
, domain
:
Zpj
.
AuthorizationDomain
, message
:
Soup
.
Message
)
:
void
Parameters
iface:
Zpj
.
Authorizer
domain:
Zpj
.
AuthorizationDomain
message:
Soup
.
Message
Returns
void
refresh_
authorization
refresh_
authorization
(
iface
:
Zpj
.
Authorizer
, cancellable
:
Gio
.
Cancellable
)
:
boolean
Parameters
iface:
Zpj
.
Authorizer
cancellable:
Gio
.
Cancellable
Returns
boolean
Authorizer
Interface
constructor
parent_
iface
name
is_
authorized_
for_
domain
process_
call
process_
message
refresh_
authorization
base64:eyJwYWdlTmF2aWdhdGlvbiI6W3siY2xhc3NOYW1lcyI6InRzZC1raW5kLWNvbnN0cnVjdG9yIHRzZC1wYXJlbnQta2luZC1jbGFzcyIsImhyZWYiOiJacGpfMF8wLl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