You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* @param parameters.hint? - optional string to hint at a particular IDP. Guest sessions are created by setting this to 'guest'
111
111
* @param parameters.usid? - optional saved SLAS user id to link the new session to a previous session
112
112
* @param privateClient? - flag to indicate if the client is private or not. Defaults to false.
113
-
* @param options - an object containing the options for this method.
113
+
* @param options - an object containing the options for this function.
114
114
* @param options.headers? - optional header to pass in the 'authorizeCustomer` endpoint.
115
115
* @returns login url, user id and authorization code if available
116
116
*/
@@ -261,7 +261,7 @@ export async function authorizeIDP(
261
261
* @param parameters.redirectURI - Per OAuth standard, a valid app route. Must be listed in your SLAS configuration. On server, this will not be actually called. On browser, this will be called, but ignored.
262
262
* @param parameters.usid? - Unique Shopper Identifier to enable personalization.
263
263
* @param parameters.dnt? - Optional parameter to enable Do Not Track (DNT) for the user.
264
-
* @param options - an object containing the options for this method
264
+
* @param options - an object containing the options for this function
265
265
* @param options?.headers - optional headers to pass in the 'getAccessToken'
266
266
* @returns TokenResponse
267
267
*/
@@ -336,7 +336,7 @@ export async function loginIDPUser(
336
336
* @param parameters - parameters to pass in the API calls.
337
337
* @param parameters.usid? - Unique Shopper Identifier to enable personalization.
338
338
* @param parameters.dnt? - Optional parameter to enable Do Not Track (DNT) for the user.
339
-
* @param options - an object containing the options for this method.
339
+
* @param options - an object containing the options for this function.
340
340
* @param option.headers? - optional headers to pass in the 'getAccessToken` endpoint.
341
341
* @returns TokenResponse
342
342
*/
@@ -390,7 +390,7 @@ export async function loginGuestUserPrivate(
390
390
* @param parameters.redirectURI - Per OAuth standard, a valid app route. Must be listed in your SLAS configuration. On server, this will not be actually called. On browser, this will be called, but ignored.
391
391
* @param parameters.usid? - Unique Shopper Identifier to enable personalization.
392
392
* @param parameters.dnt? - Optional parameter to enable Do Not Track (DNT) for the user.
393
-
* @param options - an object containing the options for this method.
393
+
* @param options - an object containing the options for this function.
394
394
* @param option.headers? - optional headers to pass in the 'getAccessToken` endpoint.
395
395
* @returns TokenResponse
396
396
*/
@@ -454,7 +454,7 @@ export async function loginGuestUser(
454
454
* @param parameters.redirectURI - Per OAuth standard, a valid app route. Must be listed in your SLAS configuration. On server, this will not be actually called. On browser, this will be called, but ignored.
455
455
* @param parameters.usid? - Unique Shopper Identifier to enable personalization.
456
456
* @param parameters.dnt? - Optional parameter to enable Do Not Track (DNT) for the user.
457
-
* @param options - an object containing the options for this method.
457
+
* @param options - an object containing the options for this function.
458
458
* @param options.headers - optional headers to pass in the 'getAccessToken' and 'authenticateCustomer' endpoints.
459
459
* @param options.body - optional body parameters to pass in the 'authenticateCustomer' endpoint.
460
460
* @returns TokenResponse
@@ -573,7 +573,7 @@ export async function loginRegisteredUserB2C(
573
573
* @param parameters.userid - User Id for login
574
574
* @param parameters.locale - The locale of the template. Not needed for the callback mode
575
575
* @param parameters.mode - Medium of sending login token
576
-
* @param options - an object containing the options for this method.
576
+
* @param options - an object containing the options for this function.
577
577
* @param options?.headers - optional headers to pass in the 'authorizePasswordlessCustomer' endpoint
578
578
* @returns Promise of Response
579
579
*/
@@ -655,7 +655,7 @@ export async function authorizePasswordless(
655
655
* @param parameters.callbackURI? - URI to send the passwordless login token to. Must be listed in your SLAS configuration. Required when mode is callback
0 commit comments