Search
Preparing search index...
The search index is not available
commerce-sdk
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Globals
helpers
ISlasClient
Interface ISlasClient
Hierarchy
ISlasClient
Index
Properties
client
Config
Methods
authenticate
Customer
authorize
Customer
get
Access
Token
logout
Customer
Properties
client
Config
client
Config
:
ClientConfig
Methods
authenticate
Customer
authenticate
Customer
(
options
:
{
body
:
LoginRequest
;
fetchOptions
?:
RequestInit
;
headers
?:
{}
;
parameters
?:
{
organizationId
?:
string
}
&
{}
;
retrySettings
?:
OperationOptions
}
, rawResponse
?:
boolean
)
:
Promise
<
Response
|
void
>
Parameters
options:
{
body
:
LoginRequest
;
fetchOptions
?:
RequestInit
;
headers
?:
{}
;
parameters
?:
{
organizationId
?:
string
}
&
{}
;
retrySettings
?:
OperationOptions
}
body
:
LoginRequest
Optional
fetch
Options
?:
RequestInit
Optional
headers
?:
{}
[
key:
string
]:
string
Optional
parameters
?:
{
organizationId
?:
string
}
&
{}
Optional
retry
Settings
?:
OperationOptions
Optional
rawResponse:
boolean
Returns
Promise
<
Response
|
void
>
authorize
Customer
authorize
Customer
(
options
?:
{
fetchOptions
?:
RequestInit
;
headers
?:
{}
;
parameters
?:
{
channel_id
?:
string
;
client_id
:
string
;
code_challenge
:
string
;
hint
?:
string
;
organizationId
?:
string
;
redirect_uri
:
string
;
response_type
:
string
;
scope
?:
string
;
state
?:
string
;
usid
?:
string
}
&
{}
;
retrySettings
?:
OperationOptions
}
, rawResponse
?:
boolean
)
:
Promise
<
Response
|
void
>
Parameters
Optional
options:
{
fetchOptions
?:
RequestInit
;
headers
?:
{}
;
parameters
?:
{
channel_id
?:
string
;
client_id
:
string
;
code_challenge
:
string
;
hint
?:
string
;
organizationId
?:
string
;
redirect_uri
:
string
;
response_type
:
string
;
scope
?:
string
;
state
?:
string
;
usid
?:
string
}
&
{}
;
retrySettings
?:
OperationOptions
}
Optional
fetch
Options
?:
RequestInit
Optional
headers
?:
{}
[
key:
string
]:
string
Optional
parameters
?:
{
channel_id
?:
string
;
client_id
:
string
;
code_challenge
:
string
;
hint
?:
string
;
organizationId
?:
string
;
redirect_uri
:
string
;
response_type
:
string
;
scope
?:
string
;
state
?:
string
;
usid
?:
string
}
&
{}
Optional
retry
Settings
?:
OperationOptions
Optional
rawResponse:
boolean
Returns
Promise
<
Response
|
void
>
get
Access
Token
get
Access
Token
(
options
:
{
body
:
TokenRequest
;
fetchOptions
?:
RequestInit
;
headers
?:
{}
;
parameters
?:
{
organizationId
?:
string
}
&
{}
;
retrySettings
?:
OperationOptions
}
, rawResponse
?:
boolean
)
:
Promise
<
Response
|
TokenResponse
>
Parameters
options:
{
body
:
TokenRequest
;
fetchOptions
?:
RequestInit
;
headers
?:
{}
;
parameters
?:
{
organizationId
?:
string
}
&
{}
;
retrySettings
?:
OperationOptions
}
body
:
TokenRequest
Optional
fetch
Options
?:
RequestInit
Optional
headers
?:
{}
[
key:
string
]:
string
Optional
parameters
?:
{
organizationId
?:
string
}
&
{}
Optional
retry
Settings
?:
OperationOptions
Optional
rawResponse:
boolean
Returns
Promise
<
Response
|
TokenResponse
>
logout
Customer
logout
Customer
(
options
?:
{
fetchOptions
?:
RequestInit
;
headers
?:
{}
;
parameters
?:
{
channel_id
?:
string
;
client_id
:
string
;
organizationId
?:
string
;
refresh_token
:
string
}
&
{}
;
retrySettings
?:
OperationOptions
}
, rawResponse
?:
boolean
)
:
Promise
<
Response
|
TokenResponse
>
Parameters
Optional
options:
{
fetchOptions
?:
RequestInit
;
headers
?:
{}
;
parameters
?:
{
channel_id
?:
string
;
client_id
:
string
;
organizationId
?:
string
;
refresh_token
:
string
}
&
{}
;
retrySettings
?:
OperationOptions
}
Optional
fetch
Options
?:
RequestInit
Optional
headers
?:
{}
[
key:
string
]:
string
Optional
parameters
?:
{
channel_id
?:
string
;
client_id
:
string
;
organizationId
?:
string
;
refresh_token
:
string
}
&
{}
Optional
retry
Settings
?:
OperationOptions
Optional
rawResponse:
boolean
Returns
Promise
<
Response
|
TokenResponse
>
Globals
"index"
cdn
checkout
customer
discovery
experience
helpers
pricing
product
search
seller
slas
Helpers
ISlas
Client
client
Config
authenticate
Customer
authorize
Customer
get
Access
Token
logout
Customer
Custom
Api
Parameters
Login
Request
Token
Request
Token
Response
CUSTOM_
API_
DEFAULT_
BASE_
URI
authorize
call
Custom
Endpoint
content
Type
Header
Exists
create
Code
Verifier
generate
Code
Challenge
get
Code
And
Usid
From
Url
login
Guest
User
login
Guest
User
Private
login
Registered
User
B2C
login
Registered
User
B2Cprivate
logout
refresh
Access
Token
refresh
Access
Token
Private
string
ToBase64
helpers
Generated using
TypeDoc