Type Alias: SignIn()
SignIn: (
password
,customerId
) =>Promise
<Nullable
<UserData
|AuthError
>>
Parameters
• email: string
The username (email) to be signed in
• password: string
The password of the username
• customerId: Nullable
<string
>
Id of customer we want to sign in
Returns
Promise
<Nullable
<UserData
| AuthError
>>
A promise resolves the CognitoUser or error object in case of failure