login
Log a user in — typed, suspending RN-parity surface.
Return
typed LoginResult with cdid + profileSwitched. cdid may be null on the rare transient backend-error path where the SDK couldn't read a CDID off the response.
Parameters
identifier
external user identifier (email, phone, loyalty ID). MUST be non-empty — throws otherwise.
attributes
optional profileData blob attached to the userLogin event payload.