OAuth2
Service
Interface
constructor
parent
Interface
reserved
name
can
Process
extract
Authorization
Code
get
Authentication
Policy
get
Authentication
Uri
get
Client
Id
get
Client
Secret
get
Display
Name
get
Flags
get
Name
get
Redirect
Uri
get
Refresh
Uri
guess
Can
Process
prepare
Authentication
Uri
Query
prepare
Get
Token
Form
prepare
Get
Token
Message
prepare
Refresh
Token
Form
prepare
Refresh
Token
Message
NODE-GTK API Reference
EDataServer-1.2
EDataServer
OAuth2ServiceInterface
Class OAuth2ServiceInterface
Hierarchy
OAuth2ServiceInterface
Index
Constructors
constructor
Properties
parent
Interface
reserved
name
Methods
can
Process
extract
Authorization
Code
get
Authentication
Policy
get
Authentication
Uri
get
Client
Id
get
Client
Secret
get
Display
Name
get
Flags
get
Name
get
Redirect
Uri
get
Refresh
Uri
guess
Can
Process
prepare
Authentication
Uri
Query
prepare
Get
Token
Form
prepare
Get
Token
Message
prepare
Refresh
Token
Form
prepare
Refresh
Token
Message
Constructors
constructor
new OAuth2
Service
Interface
(
)
:
OAuth2ServiceInterface
Returns
OAuth2ServiceInterface
Properties
parent
Interface
parent
Interface
:
TypeInterface
reserved
reserved
:
object
[]
Static
name
name
:
string
Methods
can
Process
can
Process
(
service
:
OAuth2Service
, source
:
EDataServer
.
Source
)
:
boolean
Parameters
service:
OAuth2Service
source:
EDataServer
.
Source
Returns
boolean
extract
Authorization
Code
extract
Authorization
Code
(
service
:
OAuth2Service
, source
:
EDataServer
.
Source
, pageTitle
:
string
, pageUri
:
string
, pageContent
:
string
)
:
[
boolean
,
string
]
Parameters
service:
OAuth2Service
source:
EDataServer
.
Source
pageTitle:
string
pageUri:
string
pageContent:
string
Returns
[
boolean
,
string
]
get
Authentication
Policy
get
Authentication
Policy
(
service
:
OAuth2Service
, source
:
EDataServer
.
Source
, uri
:
string
)
:
OAuth2ServiceNavigationPolicy
Parameters
service:
OAuth2Service
source:
EDataServer
.
Source
uri:
string
Returns
OAuth2ServiceNavigationPolicy
get
Authentication
Uri
get
Authentication
Uri
(
service
:
OAuth2Service
, source
:
EDataServer
.
Source
)
:
string
Parameters
service:
OAuth2Service
source:
EDataServer
.
Source
Returns
string
get
Client
Id
get
Client
Id
(
service
:
OAuth2Service
, source
:
EDataServer
.
Source
)
:
string
Parameters
service:
OAuth2Service
source:
EDataServer
.
Source
Returns
string
get
Client
Secret
get
Client
Secret
(
service
:
OAuth2Service
, source
:
EDataServer
.
Source
)
:
string
Parameters
service:
OAuth2Service
source:
EDataServer
.
Source
Returns
string
get
Display
Name
get
Display
Name
(
service
:
OAuth2Service
)
:
string
Parameters
service:
OAuth2Service
Returns
string
get
Flags
get
Flags
(
service
:
OAuth2Service
)
:
number
Parameters
service:
OAuth2Service
Returns
number
get
Name
get
Name
(
service
:
OAuth2Service
)
:
string
Parameters
service:
OAuth2Service
Returns
string
get
Redirect
Uri
get
Redirect
Uri
(
service
:
OAuth2Service
, source
:
EDataServer
.
Source
)
:
string
Parameters
service:
OAuth2Service
source:
EDataServer
.
Source
Returns
string
get
Refresh
Uri
get
Refresh
Uri
(
service
:
OAuth2Service
, source
:
EDataServer
.
Source
)
:
string
Parameters
service:
OAuth2Service
source:
EDataServer
.
Source
Returns
string
guess
Can
Process
guess
Can
Process
(
service
:
OAuth2Service
, protocol
:
string
, hostname
:
string
)
:
boolean
Parameters
service:
OAuth2Service
protocol:
string
hostname:
string
Returns
boolean
prepare
Authentication
Uri
Query
prepare
Authentication
Uri
Query
(
service
:
OAuth2Service
, source
:
EDataServer
.
Source
, uriQuery
:
HashTable
<
string
|
number
|
symbol
,
string
|
number
|
boolean
>
)
:
void
Parameters
service:
OAuth2Service
source:
EDataServer
.
Source
uriQuery:
HashTable
<
string
|
number
|
symbol
,
string
|
number
|
boolean
>
Returns
void
prepare
Get
Token
Form
prepare
Get
Token
Form
(
service
:
OAuth2Service
, source
:
EDataServer
.
Source
, authorizationCode
:
string
, form
:
HashTable
<
string
|
number
|
symbol
,
string
|
number
|
boolean
>
)
:
void
Parameters
service:
OAuth2Service
source:
EDataServer
.
Source
authorizationCode:
string
form:
HashTable
<
string
|
number
|
symbol
,
string
|
number
|
boolean
>
Returns
void
prepare
Get
Token
Message
prepare
Get
Token
Message
(
service
:
OAuth2Service
, source
:
EDataServer
.
Source
, message
:
Soup
.
Message
)
:
void
Parameters
service:
OAuth2Service
source:
EDataServer
.
Source
message:
Soup
.
Message
Returns
void
prepare
Refresh
Token
Form
prepare
Refresh
Token
Form
(
service
:
OAuth2Service
, source
:
EDataServer
.
Source
, refreshToken
:
string
, form
:
HashTable
<
string
|
number
|
symbol
,
string
|
number
|
boolean
>
)
:
void
Parameters
service:
OAuth2Service
source:
EDataServer
.
Source
refreshToken:
string
form:
HashTable
<
string
|
number
|
symbol
,
string
|
number
|
boolean
>
Returns
void
prepare
Refresh
Token
Message
prepare
Refresh
Token
Message
(
service
:
OAuth2Service
, source
:
EDataServer
.
Source
, message
:
Soup
.
Message
)
:
void
Parameters
service:
OAuth2Service
source:
EDataServer
.
Source
message:
Soup
.
Message
Returns
void
OAuth2
Service
Interface
constructor
parent
Interface
reserved
name
can
Process
extract
Authorization
Code
get
Authentication
Policy
get
Authentication
Uri
get
Client
Id
get
Client
Secret
get
Display
Name
get
Flags
get
Name
get
Redirect
Uri
get
Refresh
Uri
guess
Can
Process
prepare
Authentication
Uri
Query
prepare
Get
Token
Form
prepare
Get
Token
Message
prepare
Refresh
Token
Form
prepare
Refresh
Token
Message
base64:eyJwYWdlTmF2aWdhdGlvbiI6W3siY2xhc3NOYW1lcyI6InRzZC1raW5kLWNvbnN0cnVjdG9yIHRzZC1wYXJlbnQta2luZC1jbGFzcyIsImhyZWYiOiJFRGF0YVNlcnZlcl8xXzIuRURhdGFTZXJ2ZXIuT0F1dGgyU2VydmljZUludGVyZmFjZS5odG1sI2NvbnN0cnVjdG9yIiwibmFtZSI6ImNvbnN0cnVjdG9yIiwiY2hpbGRyZW4iOltdLCJpc0V4dGVybiI6ZmFsc2UsImlzSW50ZXJuIjp0cnVlfSx7ImNsYXNzTm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