Hi there, I'm having difficulty identifying which API's I should be using for my player creation workflow. I'm using Unity.
So far, what I have users doing is logging in using a Google Account, and then passing the token from that PlayFab in order to generate a PlayFabId.
So after a user does this, I have the following managed details:
- User ID/PlayFab ID
- Google ID
Now, I don't see the point in getting a user to create a separate Username and Password since that is managed by Google.
Instead, I would like them to create a Display Name. The API used to do this (to my understanding) is: "UpdateUserTitleDisplayName". From what I've read it uses the user session ticket to identify what user is updated their display name? I'd like to know if this session ticket is the same as the one passed by the LoginWithGoogleAccount API? If so, where do I store this in order to make it accessible by other APIs?
For instance, if I have:
UpdateUserTitleDisplayNameRequest request = new UpdateUserTitleDisplayNameRequest() { Data = new Dictionary<string, string>(){ {"DisplayName", entered_name} } };How does it know what the user_session_ticket_value is?
I understand that I can design my own POST requests (adding the session ticket to the header) using Unity's WWWForms, but then that would defeat the purpose of using PlatFabs SDK...
Thanks!