Poq.SDK.Node

Home > @poq/sdk-sfcc > AccountService > login

AccountService.login() method

Method handles login operation for a user.

Signature:

login(appIdentifier: string, loginParams: LoginRequest): Promise<PoqResponse<AuthenticationResponse>>;

Parameters

Parameter Type Description
appIdentifier string The unique guid v4 app identifier.
loginParams LoginRequest Login payload.

Returns:

Promise<PoqResponse<AuthenticationResponse>>

Tokens for logged user.