Search
Preparing search index...
The search index is not available
sygic-travel-js-sdk
Options
All
Public
Public/Protected
All
Inherited
Only exported
Menu
Globals
"Session/DataAccess"
External module "Session/DataAccess"
Index
Variables
CLIENT_
SESSION_
KEY
SETTINGS_
KEY
USER_
SESSION_
KEY
Functions
auth
OnSso
delete
Account
get
Client
Session
get
Fresh
Session
From
Cache
get
Session
With
Device
Id
get
Session
With
Jwt
get
Session
With
Password
get
Session
With
Refresh
Token
get
Session
With
Third
Party
Auth
get
User
Info
get
User
Session
get
User
Settings
get
User
Settings
From
Api
handle
Settings
Change
register
User
request
Cancel
Account
reset
Password
set
Privacy
Consent
set
User
Session
unsubscribe
Email
update
User
Settings
Variables
CLIENT_
SESSION_
KEY
CLIENT_
SESSION_
KEY
:
"client_session"
= "client_session"
SETTINGS_
KEY
SETTINGS_
KEY
:
"settings"
= "settings"
USER_
SESSION_
KEY
USER_
SESSION_
KEY
:
"user_session"
= "user_session"
Functions
auth
OnSso
auth
OnSso
(
request
:
any
)
:
Promise
<
AuthResponse
>
Parameters
request:
any
Returns
Promise
<
AuthResponse
>
delete
Account
delete
Account
(
id
:
string
, hash
:
string
)
:
Promise
<
void
>
Parameters
id:
string
hash:
string
Returns
Promise
<
void
>
get
Client
Session
get
Client
Session
(
)
:
Promise
<
Session
>
Returns
Promise
<
Session
>
get
Fresh
Session
From
Cache
get
Fresh
Session
From
Cache
(
cacheKey
:
string
)
:
Promise
<
Session
|
null
>
Parameters
cacheKey:
string
Returns
Promise
<
Session
|
null
>
get
Session
With
Device
Id
get
Session
With
Device
Id
(
deviceId
:
string
, devicePlatform
:
string
)
:
Promise
<
AuthResponse
>
Parameters
deviceId:
string
devicePlatform:
string
Returns
Promise
<
AuthResponse
>
get
Session
With
Jwt
get
Session
With
Jwt
(
jwt
:
string
, deviceId
?:
undefined
|
string
, devicePlatform
?:
undefined
|
string
)
:
Promise
<
AuthResponse
>
Parameters
jwt:
string
Optional
deviceId:
undefined
|
string
Optional
devicePlatform:
undefined
|
string
Returns
Promise
<
AuthResponse
>
get
Session
With
Password
get
Session
With
Password
(
email
:
string
, password
:
string
, deviceId
?:
undefined
|
string
, devicePlatform
?:
undefined
|
string
)
:
Promise
<
AuthResponse
>
Parameters
email:
string
password:
string
Optional
deviceId:
undefined
|
string
Optional
devicePlatform:
undefined
|
string
Returns
Promise
<
AuthResponse
>
get
Session
With
Refresh
Token
get
Session
With
Refresh
Token
(
token
:
string
)
:
Promise
<
AuthResponse
>
Parameters
token:
string
Returns
Promise
<
AuthResponse
>
get
Session
With
Third
Party
Auth
get
Session
With
Third
Party
Auth
(
type
:
ThirdPartyAuthType
, accessToken
:
string
|
null
, deviceId
?:
undefined
|
string
, devicePlatform
?:
undefined
|
string
)
:
Promise
<
AuthResponse
>
Parameters
type:
ThirdPartyAuthType
accessToken:
string
|
null
Optional
deviceId:
undefined
|
string
Optional
devicePlatform:
undefined
|
string
Returns
Promise
<
AuthResponse
>
get
User
Info
get
User
Info
(
)
:
Promise
<
UserInfo
>
Returns
Promise
<
UserInfo
>
get
User
Session
get
User
Session
(
)
:
Promise
<
Session
|
null
>
Returns
Promise
<
Session
|
null
>
get
User
Settings
get
User
Settings
(
)
:
Promise
<
UserSettings
>
Returns
Promise
<
UserSettings
>
get
User
Settings
From
Api
get
User
Settings
From
Api
(
)
:
Promise
<
any
>
Returns
Promise
<
any
>
handle
Settings
Change
handle
Settings
Change
(
)
:
Promise
<
void
>
Returns
Promise
<
void
>
register
User
register
User
(
email
:
string
, password
:
string
, name
:
string
)
:
Promise
<
RegistrationResponseCode
>
Parameters
email:
string
password:
string
name:
string
Returns
Promise
<
RegistrationResponseCode
>
request
Cancel
Account
request
Cancel
Account
(
)
:
Promise
<
void
>
Returns
Promise
<
void
>
reset
Password
reset
Password
(
email
:
string
)
:
Promise
<
ResetPasswordResponseCode
>
Parameters
email:
string
Returns
Promise
<
ResetPasswordResponseCode
>
set
Privacy
Consent
set
Privacy
Consent
(
payload
:
PrivacyConsentPayload
)
:
Promise
<
void
>
Parameters
payload:
PrivacyConsentPayload
Returns
Promise
<
void
>
set
User
Session
set
User
Session
(
session
:
Session
|
null
)
:
Promise
<
void
>
Parameters
session:
Session
|
null
Returns
Promise
<
void
>
unsubscribe
Email
unsubscribe
Email
(
hash
?:
undefined
|
string
)
:
Promise
<
CommonResponseCode
>
Parameters
Optional
hash:
undefined
|
string
Returns
Promise
<
CommonResponseCode
>
update
User
Settings
update
User
Settings
(
settings
:
UserSettings
)
:
Promise
<
UserSettings
>
Parameters
settings:
UserSettings
Returns
Promise
<
UserSettings
>
Globals
"
Session/
Data
Access"
CLIENT_
SESSION_
KEY
SETTINGS_
KEY
USER_
SESSION_
KEY
auth
OnSso
delete
Account
get
Client
Session
get
Fresh
Session
From
Cache
get
Session
With
Device
Id
get
Session
With
Jwt
get
Session
With
Password
get
Session
With
Refresh
Token
get
Session
With
Third
Party
Auth
get
User
Info
get
User
Session
get
User
Settings
get
User
Settings
From
Api
handle
Settings
Change
register
User
request
Cancel
Account
reset
Password
set
Privacy
Consent
set
User
Session
unsubscribe
Email
update
User
Settings
Generated using
TypeDoc