question

Mubashar Bilal avatar image
Mubashar Bilal asked

Cloudscript session ticket authentication

Does playfab authenticate the session ticket when a cloudscript function is called or we have to do it inside a cloudscript function?

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

·
Sarah Zhang avatar image
Sarah Zhang answered

Yes, when you call the PlayFab Client API ExecuteCloudScript, PlayFab would authenticate the Session ticket. You needn’t authenticate it inside a CloudScript function. If you execute the CloudScript function using this API ExecuteEntityCloudScript, PlayFab would authenticate the Entity Token. You can check this documentation -- Writing custom CloudScript to learn more abouthow to write the custom CloudScript functions.

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.