question

brendan avatar image
brendan asked

Data validation for RegisterWithPlayfab call

luizcarlosfx
started a topic on Fri, 06 February 2015 at 12:43 PM

Hi I'd like to know what are the requirements to validate username, password, and email?

Example: Username must contain only letters, maximun length is 8.

I'd like to validate this data before send the request to the server.

Thanks

10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

·
brendan avatar image
brendan answered

3 Comments
johntube said on Sun, 08 February 2015 at 9:30 AM

You can find these details here.

The username : 3-24 characters

The password : 6-24 characters


luizcarlosfx said on Sun, 08 February 2015 at 9:33 AM

I've found, but this values have changed. Now username must be 3-20 characters and password 6-30. They forgot to update this in the documentation.


Brendan Vanous said on Sun, 08 February 2015 at 6:06 PM

The values returned by the API are correct, and the code has been changed to correct the text of the Web API documentation page to update it to reflect the changed values. Our apologies for any confusion this caused.

10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.