Register a new user
If you wish to register a new user you will have to call the MBurgerAuthTasks.registerUser(…)
method.
Be aware that a Nooko user contains these fields, some required, some not required, and some autofilled when registering.
(Auto-filled)
ID
(Required)
Name
(Required)
Surname
(Required)
Email
Phone
Image
Auxiliar data
(Auto-filled)
Auth mode
Where Auxiliar data is an arbitrary string you can pass while registering a user.
So registration code will result:
This method won’t return anything less than an error if the email is already taken or any other problem occurred.
To obtain the profile of the user and also to call all the other API with this authorization, you will need to login this user.
Last updated
Was this helpful?