Home > @poq/sdk-sfcc > IAccountService > login
Method handles login operation for a user.
Signature:
login(appIdentifier: string, loginParams: LoginRequest): Promise<PoqResponse<AuthenticationResponse>>;
| Parameter | Type | Description |
|---|---|---|
| appIdentifier | string | The unique guid v4 app identifier. |
| loginParams | LoginRequest | Login payload. |
Returns:
Promise<PoqResponse<AuthenticationResponse>>
Tokens for logged user.