Skip to content

Commit d22d03d

Browse files
committed
wording
1 parent 21a6a68 commit d22d03d

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

src/static/helpers/slasHelper.ts

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ export const generateCodeChallenge = async (
110110
* @param parameters.hint? - optional string to hint at a particular IDP. Guest sessions are created by setting this to 'guest'
111111
* @param parameters.usid? - optional saved SLAS user id to link the new session to a previous session
112112
* @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.
114114
* @param options.headers? - optional header to pass in the 'authorizeCustomer` endpoint.
115115
* @returns login url, user id and authorization code if available
116116
*/
@@ -261,7 +261,7 @@ export async function authorizeIDP(
261261
* @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.
262262
* @param parameters.usid? - Unique Shopper Identifier to enable personalization.
263263
* @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
265265
* @param options?.headers - optional headers to pass in the 'getAccessToken'
266266
* @returns TokenResponse
267267
*/
@@ -336,7 +336,7 @@ export async function loginIDPUser(
336336
* @param parameters - parameters to pass in the API calls.
337337
* @param parameters.usid? - Unique Shopper Identifier to enable personalization.
338338
* @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.
340340
* @param option.headers? - optional headers to pass in the 'getAccessToken` endpoint.
341341
* @returns TokenResponse
342342
*/
@@ -390,7 +390,7 @@ export async function loginGuestUserPrivate(
390390
* @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.
391391
* @param parameters.usid? - Unique Shopper Identifier to enable personalization.
392392
* @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.
394394
* @param option.headers? - optional headers to pass in the 'getAccessToken` endpoint.
395395
* @returns TokenResponse
396396
*/
@@ -454,7 +454,7 @@ export async function loginGuestUser(
454454
* @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.
455455
* @param parameters.usid? - Unique Shopper Identifier to enable personalization.
456456
* @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.
458458
* @param options.headers - optional headers to pass in the 'getAccessToken' and 'authenticateCustomer' endpoints.
459459
* @param options.body - optional body parameters to pass in the 'authenticateCustomer' endpoint.
460460
* @returns TokenResponse
@@ -573,7 +573,7 @@ export async function loginRegisteredUserB2C(
573573
* @param parameters.userid - User Id for login
574574
* @param parameters.locale - The locale of the template. Not needed for the callback mode
575575
* @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.
577577
* @param options?.headers - optional headers to pass in the 'authorizePasswordlessCustomer' endpoint
578578
* @returns Promise of Response
579579
*/
@@ -655,7 +655,7 @@ export async function authorizePasswordless(
655655
* @param parameters.callbackURI? - URI to send the passwordless login token to. Must be listed in your SLAS configuration. Required when mode is callback
656656
* @param parameters.pwdlessLoginToken - Passwordless login token
657657
* @param parameters.dnt? - Optional parameter to enable Do Not Track (DNT) for the user.
658-
* @param options - an object containing the options for this method.
658+
* @param options - an object containing the options for this function.
659659
* @param options?.headers - optional headers to pass in the 'getPasswordLessAccessToken' endpoint
660660
* @returns Promise of Response or Object
661661
*/
@@ -724,7 +724,7 @@ export async function getPasswordLessAccessToken(
724724
* @param parameters.refreshToken - a valid refresh token to exchange for a new access token (and refresh token).
725725
* @param credentials - the clientSecret (if applicable) to login with.
726726
* @param credentials.clientSecret - secret associated with client ID
727-
* @param options - an object containing the options for this method.
727+
* @param options - an object containing the options for this function.
728728
* @param options?.headers - optional headers to pass in the 'getAccessToken' endpoint
729729
* @returns TokenResponse
730730
*/
@@ -777,7 +777,7 @@ export function refreshAccessToken(
777777
* @param parameters - parameters to pass in the API calls.
778778
* @param parameters.accessToken - a valid access token to exchange for a new access token (and refresh token).
779779
* @param parameters.refreshToken - a valid refresh token to exchange for a new access token (and refresh token).
780-
* @param options - an object containing the options for this method.
780+
* @param options - an object containing the options for this function.
781781
* @param options?.headers - optional headers to pass in the 'logoutCustomer' endpoint
782782
* @returns TokenResponse
783783
*/

0 commit comments

Comments
 (0)