Session
Class
constructor
parent
Class
reserved
Methods
reserved
Signals
name
add
Service
addressbook
Contains
Sync
authenticate
Sync
forget
Password
forward
To
Sync
get
Filter
Driver
get
Oauth2
Access
Token
Sync
get
Password
get
Recipient
Certificates
Sync
job
Finished
job
Started
lookup
Addressbook
remove
Service
trust
Prompt
user
Alert
NODE-GTK API Reference
Camel-1.2
Camel
SessionClass
Class SessionClass
Hierarchy
SessionClass
Index
Constructors
constructor
Properties
parent
Class
reserved
Methods
reserved
Signals
name
Methods
add
Service
addressbook
Contains
Sync
authenticate
Sync
forget
Password
forward
To
Sync
get
Filter
Driver
get
Oauth2
Access
Token
Sync
get
Password
get
Recipient
Certificates
Sync
job
Finished
job
Started
lookup
Addressbook
remove
Service
trust
Prompt
user
Alert
Constructors
constructor
new
Session
Class
(
)
:
Camel
.
SessionClass
Returns
Camel
.
SessionClass
Properties
parent
Class
parent
Class
:
GObject
.
ObjectClass
reserved
Methods
reserved
Methods
:
object
[]
reserved
Signals
reserved
Signals
:
object
[]
Static
name
name
:
string
Methods
add
Service
add
Service
(
session
:
Camel
.
Session
, uid
:
string
, protocol
:
string
, type
:
ProviderType
)
:
Camel
.
Service
Parameters
session:
Camel
.
Session
uid:
string
protocol:
string
type:
ProviderType
Returns
Camel
.
Service
addressbook
Contains
Sync
addressbook
Contains
Sync
(
session
:
Camel
.
Session
, bookUid
:
string
, emailAddress
:
string
, cancellable
:
Gio
.
Cancellable
)
:
boolean
Parameters
session:
Camel
.
Session
bookUid:
string
emailAddress:
string
cancellable:
Gio
.
Cancellable
Returns
boolean
authenticate
Sync
authenticate
Sync
(
session
:
Camel
.
Session
, service
:
Camel
.
Service
, mechanism
:
string
, cancellable
:
Gio
.
Cancellable
)
:
boolean
Parameters
session:
Camel
.
Session
service:
Camel
.
Service
mechanism:
string
cancellable:
Gio
.
Cancellable
Returns
boolean
forget
Password
forget
Password
(
session
:
Camel
.
Session
, service
:
Camel
.
Service
, item
:
string
)
:
boolean
Parameters
session:
Camel
.
Session
service:
Camel
.
Service
item:
string
Returns
boolean
forward
To
Sync
forward
To
Sync
(
session
:
Camel
.
Session
, folder
:
Camel
.
Folder
, message
:
MimeMessage
, address
:
string
, cancellable
:
Gio
.
Cancellable
)
:
boolean
Parameters
session:
Camel
.
Session
folder:
Camel
.
Folder
message:
MimeMessage
address:
string
cancellable:
Gio
.
Cancellable
Returns
boolean
get
Filter
Driver
get
Filter
Driver
(
session
:
Camel
.
Session
, type
:
string
, forFolder
:
Camel
.
Folder
)
:
FilterDriver
Parameters
session:
Camel
.
Session
type:
string
forFolder:
Camel
.
Folder
Returns
FilterDriver
get
Oauth2
Access
Token
Sync
get
Oauth2
Access
Token
Sync
(
session
:
Camel
.
Session
, service
:
Camel
.
Service
, cancellable
:
Gio
.
Cancellable
)
:
[
boolean
,
string
,
number
]
Parameters
session:
Camel
.
Session
service:
Camel
.
Service
cancellable:
Gio
.
Cancellable
Returns
[
boolean
,
string
,
number
]
get
Password
get
Password
(
session
:
Camel
.
Session
, service
:
Camel
.
Service
, prompt
:
string
, item
:
string
, flags
:
number
)
:
string
Parameters
session:
Camel
.
Session
service:
Camel
.
Service
prompt:
string
item:
string
flags:
number
Returns
string
get
Recipient
Certificates
Sync
get
Recipient
Certificates
Sync
(
session
:
Camel
.
Session
, flags
:
number
, recipients
:
string
[]
, cancellable
:
Gio
.
Cancellable
)
:
[
boolean
,
string
[]
]
Parameters
session:
Camel
.
Session
flags:
number
recipients:
string
[]
cancellable:
Gio
.
Cancellable
Returns
[
boolean
,
string
[]
]
job
Finished
job
Finished
(
session
:
Camel
.
Session
, cancellable
:
Gio
.
Cancellable
, error
:
GLib
.
Error
)
:
void
Parameters
session:
Camel
.
Session
cancellable:
Gio
.
Cancellable
error:
GLib
.
Error
Returns
void
job
Started
job
Started
(
session
:
Camel
.
Session
, cancellable
:
Gio
.
Cancellable
)
:
void
Parameters
session:
Camel
.
Session
cancellable:
Gio
.
Cancellable
Returns
void
lookup
Addressbook
lookup
Addressbook
(
session
:
Camel
.
Session
, name
:
string
)
:
boolean
Parameters
session:
Camel
.
Session
name:
string
Returns
boolean
remove
Service
remove
Service
(
session
:
Camel
.
Session
, service
:
Camel
.
Service
)
:
void
Parameters
session:
Camel
.
Session
service:
Camel
.
Service
Returns
void
trust
Prompt
trust
Prompt
(
session
:
Camel
.
Session
, service
:
Camel
.
Service
, certificate
:
TlsCertificate
, errors
:
TlsCertificateFlags
)
:
CertTrust
Parameters
session:
Camel
.
Session
service:
Camel
.
Service
certificate:
TlsCertificate
errors:
TlsCertificateFlags
Returns
CertTrust
user
Alert
user
Alert
(
session
:
Camel
.
Session
, service
:
Camel
.
Service
, type
:
SessionAlertType
, message
:
string
)
:
void
Parameters
session:
Camel
.
Session
service:
Camel
.
Service
type:
SessionAlertType
message:
string
Returns
void
Session
Class
constructor
parent
Class
reserved
Methods
reserved
Signals
name
add
Service
addressbook
Contains
Sync
authenticate
Sync
forget
Password
forward
To
Sync
get
Filter
Driver
get
Oauth2
Access
Token
Sync
get
Password
get
Recipient
Certificates
Sync
job
Finished
job
Started
lookup
Addressbook
remove
Service
trust
Prompt
user
Alert
base64:eyJwYWdlTmF2aWdhdGlvbiI6W3siY2xhc3NOYW1lcyI6InRzZC1raW5kLWNvbnN0cnVjdG9yIHRzZC1wYXJlbnQta2luZC1jbGFzcyIsImhyZWYiOiJDYW1lbF8xXzIuQ2FtZWwuU2Vzc2lvbkNsYXNzLmh0bWwjY29uc3RydWN0b3IiLCJuYW1lIjoiY29uc3RydWN0b3IiLCJjaGlsZHJlbiI6W10sImlzRXh0ZXJuIjpmYWxzZSwiaXNJbnRlcm4iOnRydWV9LHsiY2xhc3NOYW1lcyI6InRzZC1raW5kLXByb3BlcnR5IHRzZC1wYXJlbnQta2luZC1jbGFzcyIsImhyZWYiOiJDYW1lbF8xXzIuQ2FtZWwuU2Vzc2lvbkNsYXNzLmh0bWwjcGFyZW50Q2xhc3MiLCJuYW1lIjoicGFyZW50Q2xhc3MiLCJjaGlsZHJlbiI6W10sIm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