SDK Example: Authenticate a User (Winter '20)

Use the example SDK code in this topic to sign in or sign up a user and authenticate.

Possible error conditions:

"AuthenticateUserInput::getRequestPayload() must have email."

"AuthenticateUserInput::getRequestPayload() must have password."

"AuthenticateUserInput::getRequestPayload() must have phoneNumber."

"AssetToBasketInput::getRequestPayload() must have rootAssetIds."

"AuthenticateUserInput::getRequestPayload() must have firstName."

"AuthenticateUserInput::getRequestPayload() must have lastName.