Search
Preparing search index...
The search index is not available
@moonlight-io/asteroid-sdk-js
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Globals
Asteroid
Class Asteroid
Hierarchy
Asteroid
Index
Constructors
constructor
Properties
logger
options
user
Accessors
asteroid
Domain
User
Base
Url
asteroid
Domain
Worker
Base
Url
id
Methods
get
Profile
ByToken
login
Email
mailing
List
Unsubscribe
register
Email
register
Email
With
Secret
register
Interest
set
Disable
Registration
set
User
Group
ByEmail
update
Password
validate
Optional
Parameters
vivid
Login
Email
vivid
Register
Email
Constructors
constructor
new
Asteroid
(
options
?:
AsteroidOptions
)
:
Asteroid
Parameters
Default value
options:
AsteroidOptions
= {}
Returns
Asteroid
Properties
Private
logger
logger
:
Logger
Private
options
options
:
AsteroidOptions
Private
user
user
:
AsteroidUser
|
undefined
Accessors
asteroid
Domain
User
Base
Url
get
asteroidDomainUserBaseUrl
(
)
:
string
Returns
string
asteroid
Domain
Worker
Base
Url
get
asteroidDomainWorkerBaseUrl
(
)
:
string
Returns
string
id
get
id
(
)
:
string
Returns
string
Methods
get
Profile
ByToken
get
Profile
ByToken
(
token
:
string
)
:
Promise
<
UserProfile
>
Parameters
token:
string
Returns
Promise
<
UserProfile
>
login
Email
login
Email
(
email
:
string
, password
:
string
)
:
Promise
<
AsteroidUser
>
Parameters
email:
string
password:
string
Returns
Promise
<
AsteroidUser
>
mailing
List
Unsubscribe
mailing
List
Unsubscribe
(
token
:
string
)
:
Promise
<
void
>
Parameters
token:
string
Returns
Promise
<
void
>
register
Email
register
Email
(
email
:
string
)
:
Promise
<
void
>
Parameters
email:
string
Returns
Promise
<
void
>
register
Email
With
Secret
register
Email
With
Secret
(
email
:
string
, secret
:
string
)
:
Promise
<
string
>
Parameters
email:
string
secret:
string
Returns
Promise
<
string
>
Dynamic token uses to update password.
register
Interest
register
Interest
(
email
:
string
)
:
Promise
<
void
>
Parameters
email:
string
Returns
Promise
<
void
>
set
Disable
Registration
set
Disable
Registration
(
secret
:
string
, state
:
boolean
)
:
Promise
<
void
>
Parameters
secret:
string
state:
boolean
Returns
Promise
<
void
>
set
User
Group
ByEmail
set
User
Group
ByEmail
(
email
:
string
, group
:
string
, secret
:
string
)
:
Promise
<
void
>
Parameters
email:
string
group:
string
secret:
string
Returns
Promise
<
void
>
update
Password
update
Password
(
password
:
string
, dynamicToken
:
string
, tokenType
:
UpdatePasswordTokenType
)
:
Promise
<
void
>
Parameters
password:
string
dynamicToken:
string
tokenType:
UpdatePasswordTokenType
Returns
Promise
<
void
>
Private
validate
Optional
Parameters
validate
Optional
Parameters
(
)
:
void
Returns
void
vivid
Login
Email
vivid
Login
Email
(
email
:
string
, password
:
string
, appId
:
string
, serviceId
:
string
)
:
Promise
<
AsteroidUser
>
Parameters
email:
string
password:
string
appId:
string
serviceId:
string
Returns
Promise
<
AsteroidUser
>
vivid
Register
Email
vivid
Register
Email
(
email
:
string
, appId
:
string
, serviceId
:
string
, state
:
string
)
:
Promise
<
void
>
Parameters
email:
string
appId:
string
serviceId:
string
state:
string
Returns
Promise
<
void
>
Globals
Asteroid
constructor
logger
options
user
asteroid
Domain
User
Base
Url
asteroid
Domain
Worker
Base
Url
id
get
Profile
ByToken
login
Email
mailing
List
Unsubscribe
register
Email
register
Email
With
Secret
register
Interest
set
Disable
Registration
set
User
Group
ByEmail
update
Password
validate
Optional
Parameters
vivid
Login
Email
vivid
Register
Email
Generated using
TypeDoc