Search
Preparing search index...
The search index is not available
wideq
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Globals
"core/auth"
Auth
Class Auth
Hierarchy
Auth
Index
Constructors
constructor
Properties
access
Token
gateway
refresh
Token
Methods
refresh
start
Session
from
Url
login
oauth2
Signature
refresh
Auth
Constructors
constructor
new
Auth
(
gateway
:
Gateway
, accessToken
:
string
|
null
, refreshToken
:
string
)
:
Auth
Parameters
gateway:
Gateway
accessToken:
string
|
null
refreshToken:
string
Returns
Auth
Properties
access
Token
access
Token
:
string
|
null
gateway
gateway
:
Gateway
refresh
Token
refresh
Token
:
string
Methods
refresh
refresh
(
)
:
Promise
<
Auth
>
Returns
Promise
<
Auth
>
start
Session
start
Session
(
)
:
Promise
<
object
>
Returns
Promise
<
object
>
Static
from
Url
from
Url
(
gateway
:
Gateway
, url
:
string
)
:
Auth
Parameters
gateway:
Gateway
url:
string
Returns
Auth
Static
login
login
(
apiRoot
:
string
, accessToken
:
string
, countryCode
:
string
, langCode
:
string
)
:
Promise
<
any
>
Parameters
apiRoot:
string
accessToken:
string
countryCode:
string
langCode:
string
Returns
Promise
<
any
>
Static
oauth2
Signature
oauth2
Signature
(
message
:
string
, secret
:
string
)
:
string
Parameters
message:
string
secret:
string
Returns
string
Static
refresh
Auth
refresh
Auth
(
oauthRoot
:
string
, refreshToken
:
string
)
:
Promise
<
string
>
Parameters
oauthRoot:
string
refreshToken:
string
Returns
Promise
<
string
>
Globals
"cli"
"client"
"core/auth"
"core/constants"
"core/device"
"core/device-
info"
"core/errors"
"core/gateway"
"core/model-
info"
"core/monitor"
"core/request"
"core/session"
"devices/ac"
"devices/dehumidifier"
"devices/dishwasher"
"devices/dryer"
"devices/washer"
"index"
"utils"
Auth
constructor
access
Token
gateway
refresh
Token
refresh
start
Session
from
Url
login
oauth2
Signature
refresh
Auth
Generated using
TypeDoc