I'm working with some friends to create a Unity game. I agreed to help them out with some back end pieces, particularly some API work. I'm not a game dev or super familiar with Unity,.
Somehow I'm having a hard time finding documentation is something that I would have been expected to be easy to find. So I apologize in advice for my stupid questions.
What I'm looking to do:
I have a bunch of existing Firebase Cloud Functions written in nodejs, and I'd like to port them to Playfab for use in the Unity game. I know C#, but some of the functionality is very specific to some NPM modules, so I have a very strong preference to keep the functions as nodejs.
Does it matter what language is used a Function if it's registered in CloudScript? I wouldn't have thought it would be important, but one of the Microsoft articles mentions that .NET core should be used. Maybe I'm reading too far into that statement though.
I'd like my functions to return information specific to a Playfab user. How does my authentication look? The article I was reading mentions just using "Function" authentication, but this sound like a full-trust authorization model between Playfab and the Function. Is it assumed Playfab itself will take care of the authorization, and passes in some sort of a PlayfabId for me to identify the user?
I would have hoped to receive some sort of oAuth2 Bearer token or something, but I haven't found anything that points to this being the case.
Also if anyone has any good resources for nodejs based Playfab Azure Function, I'd love to give it a read.