There should be an official API call for clients to logout from their session
Attachments: Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.
The only way to really implement this (other than tracking the last activity time for a client) is to use PlayFabClientAPI.ForgetAllCredentials()
But this does not end their sessions from other devices if they are logged-in from others
This would be the only other way to do it:
I'm already using this function but it's not an official solution as far as I know
Share your great idea, or help out by voting for other people's ideas.
2 People are following this idea.
Adding admin API Get User Account Info with Custom ID
Multiple JSON formatting options (get/set) from API
Get PlayFab IDs from Nintendo Service Accounts
Add Phone Number Verification/Linking API
Numeric Object Ids
Steam Account Linking from website
Secret key permission management
Allow setting contact email in server api and/or admin api, or allow custom password recovery email from master email.
Cloud Script environment variables and Admin API to update them