Search
Preparing search index...
The search index is not available
Sintium
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Globals
"sintium/Modules/Authenticator/Implementations/OAuthAuthenticator"
OAuthAuthenticator
Class OAuthAuthenticator
Hierarchy
OAuthAuthenticator
Implements
IAuthenticator
Index
Properties
_api
Token
Url
_content
Type
_is
Authenticated
_token
Methods
_authenticated
Fetch
_build
Username
Password
Header
_build
Username
Password
Request
authenticate
clear
Token
content
Type
get
Authenticated
Fetch
get
Authentication
Data
initialize
is
Authenticated
Properties
Private
_api
Token
Url
_api
Token
Url
:
string
Private
_content
Type
_content
Type
:
string
= "application/x-www-form-urlencoded"
Private
_is
Authenticated
_is
Authenticated
:
boolean
= false
Private
_token
_token
:
string
Methods
Private
_authenticated
Fetch
_authenticated
Fetch
(
source
:
string
)
:
Promise
<
Response
>
Parameters
source:
string
Returns
Promise
<
Response
>
Private
_build
Username
Password
Header
_build
Username
Password
Header
(
username
:
string
, password
:
string
, contentType
:
string
)
:
any
Parameters
username:
string
password:
string
contentType:
string
Returns
any
Private
_build
Username
Password
Request
_build
Username
Password
Request
(
username
:
string
, password
:
string
, contentType
:
string
)
:
Promise
<
void
>
Parameters
username:
string
password:
string
contentType:
string
Returns
Promise
<
void
>
authenticate
authenticate
(
)
:
Promise
<
void
>
Returns
Promise
<
void
>
clear
Token
clear
Token
(
)
:
void
Returns
void
content
Type
content
Type
(
contentType
:
string
)
:
this
Parameters
contentType:
string
Returns
this
get
Authenticated
Fetch
get
Authenticated
Fetch
(
)
:
any
Returns
any
get
Authentication
Data
get
Authentication
Data
(
)
:
{
headers
:
object
}
Returns
{
headers
:
object
}
headers
:
object
Authorization
:
string
initialize
initialize
(
tokenUrl
:
string
, token
?:
string
)
:
void
Parameters
tokenUrl:
string
Optional
token:
string
Returns
void
is
Authenticated
is
Authenticated
(
)
:
boolean
Returns
boolean
Globals
"sintium/
Modules/
Authenticator/
Implementations/OAuth
Authenticator"
OAuth
Authenticator
_api
Token
Url
_content
Type
_is
Authenticated
_token
_authenticated
Fetch
_build
Username
Password
Header
_build
Username
Password
Request
authenticate
clear
Token
content
Type
get
Authenticated
Fetch
get
Authentication
Data
initialize
is
Authenticated
Generated using
TypeDoc