yolkbot
learn
community
Preparing search index...
API
Class API
Index
Constructors
constructor
Methods
create
Account
error
Logger
login
Anonymously
login
With
Credentials
login
With
Refresh
Token
query
Services
send
Email
Verification
verify
Oob
Code
Properties
connection
Timeout
firebase
Key
id
Token
instance
protocol
proxy
Constructors
constructor
new
API
(
params
?:
Partial
<
APIParams
>
)
:
API
Parameters
params
:
Partial
<
APIParams
>
= {}
Returns
API
Methods
Readonly
create
Account
createAccount
(
email
:
string
,
password
:
string
,
customServicesParams
?:
Record
<
string
,
any
>
,
)
:
Promise
<
QueryResponseError
|
AuthResponse
>
Parameters
email
:
string
password
:
string
Optional
customServicesParams
:
Record
<
string
,
any
>
Returns
Promise
<
QueryResponseError
|
AuthResponse
>
error
Logger
errorLogger
(
...
args
:
any
[]
)
:
void
Parameters
...
args
:
any
[]
Returns
void
login
Anonymously
loginAnonymously
(
customServicesParams
?:
Record
<
string
,
any
>
,
)
:
Promise
<
QueryResponseError
|
AuthResponse
>
Parameters
Optional
customServicesParams
:
Record
<
string
,
any
>
Returns
Promise
<
QueryResponseError
|
AuthResponse
>
Readonly
login
With
Credentials
loginWithCredentials
(
email
:
string
,
password
:
string
,
customServicesParams
?:
Record
<
string
,
any
>
,
)
:
Promise
<
QueryResponseError
|
AuthResponse
>
Parameters
email
:
string
password
:
string
Optional
customServicesParams
:
Record
<
string
,
any
>
Returns
Promise
<
QueryResponseError
|
AuthResponse
>
login
With
Refresh
Token
loginWithRefreshToken
(
refreshToken
:
string
,
customServicesParams
?:
Record
<
string
,
any
>
,
)
:
Promise
<
QueryResponseError
|
AuthResponse
>
Parameters
refreshToken
:
string
Optional
customServicesParams
:
Record
<
string
,
any
>
Returns
Promise
<
QueryResponseError
|
AuthResponse
>
query
Services
queryServices
(
request
:
QueryRequest
,
)
:
Promise
<
QueryResponseOK
|
QueryResponseError
>
Parameters
request
:
QueryRequest
Returns
Promise
<
QueryResponseOK
|
QueryResponseError
>
send
Email
Verification
sendEmailVerification
(
idToken
?:
string
|
null
,
)
:
Promise
<
QueryResponseError
|
EmailResponse
>
Parameters
idToken
:
string
|
null
= ...
Returns
Promise
<
QueryResponseError
|
EmailResponse
>
verify
Oob
Code
verifyOobCode
(
oobCode
:
string
)
:
Promise
<
QueryResponseError
|
EmailResponse
>
Parameters
oobCode
:
string
Returns
Promise
<
QueryResponseError
|
EmailResponse
>
Properties
connection
Timeout
connectionTimeout
:
number
firebase
Key
firebaseKey
:
string
id
Token
idToken
:
string
|
null
= null
instance
instance
:
string
protocol
protocol
:
string
proxy
proxy
:
string
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Methods
create
Account
error
Logger
login
Anonymously
login
With
Credentials
login
With
Refresh
Token
query
Services
send
Email
Verification
verify
Oob
Code
Properties
connection
Timeout
firebase
Key
id
Token
instance
protocol
proxy
learn
community
yolkbot
Loading...