Source
Class
constructor
parent
Class
reserved
name
authenticate
changed
credentials
Required
get
Oauth2
Access
Token
get
Oauth2
Access
Token
Finish
get
Oauth2
Access
Token
Sync
invoke
Authenticate
Impl
invoke
Credentials
Required
Impl
remote
Create
remote
Create
Finish
remote
Create
Sync
remote
Delete
remote
Delete
Finish
remote
Delete
Sync
remove
remove
Finish
remove
Sync
unset
Last
Credentials
Required
Arguments
Impl
write
write
Finish
write
Sync
NODE-GTK API Reference
EDataServer-1.2
EDataServer
SourceClass
Class SourceClass
Hierarchy
SourceClass
Index
Constructors
constructor
Properties
parent
Class
reserved
name
Methods
authenticate
changed
credentials
Required
get
Oauth2
Access
Token
get
Oauth2
Access
Token
Finish
get
Oauth2
Access
Token
Sync
invoke
Authenticate
Impl
invoke
Credentials
Required
Impl
remote
Create
remote
Create
Finish
remote
Create
Sync
remote
Delete
remote
Delete
Finish
remote
Delete
Sync
remove
remove
Finish
remove
Sync
unset
Last
Credentials
Required
Arguments
Impl
write
write
Finish
write
Sync
Constructors
constructor
new
Source
Class
(
)
:
EDataServer
.
SourceClass
Returns
EDataServer
.
SourceClass
Properties
parent
Class
parent
Class
:
GObject
.
ObjectClass
reserved
reserved
:
object
[]
Static
name
name
:
string
Methods
authenticate
authenticate
(
source
:
EDataServer
.
Source
, credentials
:
NamedParameters
)
:
void
Parameters
source:
EDataServer
.
Source
credentials:
NamedParameters
Returns
void
changed
changed
(
source
:
EDataServer
.
Source
)
:
void
Parameters
source:
EDataServer
.
Source
Returns
void
credentials
Required
credentials
Required
(
source
:
EDataServer
.
Source
, reason
:
SourceCredentialsReason
, certificatePem
:
string
, certificateErrors
:
TlsCertificateFlags
, opError
:
GLib
.
Error
)
:
void
Parameters
source:
EDataServer
.
Source
reason:
SourceCredentialsReason
certificatePem:
string
certificateErrors:
TlsCertificateFlags
opError:
GLib
.
Error
Returns
void
get
Oauth2
Access
Token
get
Oauth2
Access
Token
(
source
:
EDataServer
.
Source
, cancellable
:
Gio
.
Cancellable
, callback
:
AsyncReadyCallback
)
:
void
Parameters
source:
EDataServer
.
Source
cancellable:
Gio
.
Cancellable
callback:
AsyncReadyCallback
Returns
void
get
Oauth2
Access
Token
Finish
get
Oauth2
Access
Token
Finish
(
source
:
EDataServer
.
Source
, result
:
AsyncResult
)
:
[
boolean
,
string
,
number
]
Parameters
source:
EDataServer
.
Source
result:
AsyncResult
Returns
[
boolean
,
string
,
number
]
get
Oauth2
Access
Token
Sync
get
Oauth2
Access
Token
Sync
(
source
:
EDataServer
.
Source
, cancellable
:
Gio
.
Cancellable
)
:
[
boolean
,
string
,
number
]
Parameters
source:
EDataServer
.
Source
cancellable:
Gio
.
Cancellable
Returns
[
boolean
,
string
,
number
]
invoke
Authenticate
Impl
invoke
Authenticate
Impl
(
source
:
EDataServer
.
Source
, dbusSource
:
object
, argCredentials
:
string
, cancellable
:
Gio
.
Cancellable
)
:
boolean
Parameters
source:
EDataServer
.
Source
dbusSource:
object
argCredentials:
string
cancellable:
Gio
.
Cancellable
Returns
boolean
invoke
Credentials
Required
Impl
invoke
Credentials
Required
Impl
(
source
:
EDataServer
.
Source
, dbusSource
:
object
, argReason
:
string
, argCertificatePem
:
string
, argCertificateErrors
:
string
, argDbusErrorName
:
string
, argDbusErrorMessage
:
string
, cancellable
:
Gio
.
Cancellable
)
:
boolean
Parameters
source:
EDataServer
.
Source
dbusSource:
object
argReason:
string
argCertificatePem:
string
argCertificateErrors:
string
argDbusErrorName:
string
argDbusErrorMessage:
string
cancellable:
Gio
.
Cancellable
Returns
boolean
remote
Create
remote
Create
(
source
:
EDataServer
.
Source
, scratchSource
:
EDataServer
.
Source
, cancellable
:
Gio
.
Cancellable
, callback
:
AsyncReadyCallback
)
:
void
Parameters
source:
EDataServer
.
Source
scratchSource:
EDataServer
.
Source
cancellable:
Gio
.
Cancellable
callback:
AsyncReadyCallback
Returns
void
remote
Create
Finish
remote
Create
Finish
(
source
:
EDataServer
.
Source
, result
:
AsyncResult
)
:
boolean
Parameters
source:
EDataServer
.
Source
result:
AsyncResult
Returns
boolean
remote
Create
Sync
remote
Create
Sync
(
source
:
EDataServer
.
Source
, scratchSource
:
EDataServer
.
Source
, cancellable
:
Gio
.
Cancellable
)
:
boolean
Parameters
source:
EDataServer
.
Source
scratchSource:
EDataServer
.
Source
cancellable:
Gio
.
Cancellable
Returns
boolean
remote
Delete
remote
Delete
(
source
:
EDataServer
.
Source
, cancellable
:
Gio
.
Cancellable
, callback
:
AsyncReadyCallback
)
:
void
Parameters
source:
EDataServer
.
Source
cancellable:
Gio
.
Cancellable
callback:
AsyncReadyCallback
Returns
void
remote
Delete
Finish
remote
Delete
Finish
(
source
:
EDataServer
.
Source
, result
:
AsyncResult
)
:
boolean
Parameters
source:
EDataServer
.
Source
result:
AsyncResult
Returns
boolean
remote
Delete
Sync
remote
Delete
Sync
(
source
:
EDataServer
.
Source
, cancellable
:
Gio
.
Cancellable
)
:
boolean
Parameters
source:
EDataServer
.
Source
cancellable:
Gio
.
Cancellable
Returns
boolean
remove
remove
(
source
:
EDataServer
.
Source
, cancellable
:
Gio
.
Cancellable
, callback
:
AsyncReadyCallback
)
:
void
Parameters
source:
EDataServer
.
Source
cancellable:
Gio
.
Cancellable
callback:
AsyncReadyCallback
Returns
void
remove
Finish
remove
Finish
(
source
:
EDataServer
.
Source
, result
:
AsyncResult
)
:
boolean
Parameters
source:
EDataServer
.
Source
result:
AsyncResult
Returns
boolean
remove
Sync
remove
Sync
(
source
:
EDataServer
.
Source
, cancellable
:
Gio
.
Cancellable
)
:
boolean
Parameters
source:
EDataServer
.
Source
cancellable:
Gio
.
Cancellable
Returns
boolean
unset
Last
Credentials
Required
Arguments
Impl
unset
Last
Credentials
Required
Arguments
Impl
(
source
:
EDataServer
.
Source
, cancellable
:
Gio
.
Cancellable
)
:
boolean
Parameters
source:
EDataServer
.
Source
cancellable:
Gio
.
Cancellable
Returns
boolean
write
write
(
source
:
EDataServer
.
Source
, cancellable
:
Gio
.
Cancellable
, callback
:
AsyncReadyCallback
)
:
void
Parameters
source:
EDataServer
.
Source
cancellable:
Gio
.
Cancellable
callback:
AsyncReadyCallback
Returns
void
write
Finish
write
Finish
(
source
:
EDataServer
.
Source
, result
:
AsyncResult
)
:
boolean
Parameters
source:
EDataServer
.
Source
result:
AsyncResult
Returns
boolean
write
Sync
write
Sync
(
source
:
EDataServer
.
Source
, cancellable
:
Gio
.
Cancellable
)
:
boolean
Parameters
source:
EDataServer
.
Source
cancellable:
Gio
.
Cancellable
Returns
boolean
Source
Class
constructor
parent
Class
reserved
name
authenticate
changed
credentials
Required
get
Oauth2
Access
Token
get
Oauth2
Access
Token
Finish
get
Oauth2
Access
Token
Sync
invoke
Authenticate
Impl
invoke
Credentials
Required
Impl
remote
Create
remote
Create
Finish
remote
Create
Sync
remote
Delete
remote
Delete
Finish
remote
Delete
Sync
remove
remove
Finish
remove
Sync
unset
Last
Credentials
Required
Arguments
Impl
write
write
Finish
write
Sync
base64:eyJwYWdlTmF2aWdhdGlvbiI6W3siY2xhc3NOYW1lcyI6InRzZC1raW5kLWNvbnN0cnVjdG9yIHRzZC1wYXJlbnQta2luZC1jbGFzcyIsImhyZWYiOiJFRGF0YVNlcnZlcl8xXzIuRURhdGFTZXJ2ZXIuU291cmNlQ2xhc3MuaHRtbCNjb25zdHJ1Y3RvciIsIm5hbWUiOiJjb25zdHJ1Y3RvciIsImNoaWxkcmVuIjpbXSwiaXNFeHRlcm4iOmZhbHNlLCJpc0ludGVybiI6dHJ1ZX0seyJjbGFzc05hbWVzIjoidHNkLWtpbmQtcHJvcGVydHkgdHNkLXBhcmVudC1raW5kLWNsYXNzIiwiaHJlZiI6IkVEYXRhU2VydmVyXzFfMi5FRGF0YVNlcnZlci5Tb3VyY2VDbGFzcy5odG1sI3BhcmVudENsYXNzIiwibmFtZSI6InBhcmVudENsYXNzIiwiY2hpbGRyZW4iOltdLCJpc0V4dGVybiI6ZmFsc2UsImlzSW50ZXJuIjp0cnVlfSx7ImNsYXNzTmFtZXMiOiJ0c2Qta2luZC1wc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