OAuth2
Support
Interface
constructor
name
get_
access_
token
get_
access_
token_
finish
get_
access_
token_
sync
GJS API Reference
EBackend-1.2
EBackend
OAuth2SupportInterface
Class OAuth2SupportInterface
Hierarchy
OAuth2SupportInterface
Index
Constructors
constructor
Properties
name
Methods
get_
access_
token
get_
access_
token_
finish
get_
access_
token_
sync
Constructors
constructor
new OAuth2
Support
Interface
(
)
:
OAuth2SupportInterface
Returns
OAuth2SupportInterface
Properties
Static
name
name
:
string
Methods
get_
access_
token
get_
access_
token
(
support
:
OAuth2Support
, source
:
EDataServer
.
Source
, cancellable
:
Gio
.
Cancellable
, callback
:
AsyncReadyCallback
)
:
void
Parameters
support:
OAuth2Support
source:
EDataServer
.
Source
cancellable:
Gio
.
Cancellable
callback:
AsyncReadyCallback
Returns
void
get_
access_
token_
finish
get_
access_
token_
finish
(
support
:
OAuth2Support
, result
:
AsyncResult
)
:
[
boolean
,
string
,
number
]
Parameters
support:
OAuth2Support
result:
AsyncResult
Returns
[
boolean
,
string
,
number
]
get_
access_
token_
sync
get_
access_
token_
sync
(
support
:
OAuth2Support
, source
:
EDataServer
.
Source
, cancellable
:
Gio
.
Cancellable
)
:
[
boolean
,
string
,
number
]
Parameters
support:
OAuth2Support
source:
EDataServer
.
Source
cancellable:
Gio
.
Cancellable
Returns
[
boolean
,
string
,
number
]
OAuth2
Support
Interface
constructor
name
get_
access_
token
get_
access_
token_
finish
get_
access_
token_
sync
base64:eyJwYWdlTmF2aWdhdGlvbiI6W3siY2xhc3NOYW1lcyI6InRzZC1raW5kLWNvbnN0cnVjdG9yIHRzZC1wYXJlbnQta2luZC1jbGFzcyIsImhyZWYiOiJFQmFja2VuZF8xXzIuRUJhY2tlbmQuT0F1dGgyU3VwcG9ydEludGVyZmFjZS5odG1sI2NvbnN0cnVjdG9yIiwibmFtZSI6ImNvbnN0cnVjdG9yIiwiY2hpbGRyZW4iOltdLCJpc0V4dGVybiI6ZmFsc2UsImlzSW50ZXJuIjp0cnVlfSx7ImNsYXN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