Microsoft Azure PlayFab logo
    • Multiplayer
    • LiveOps
    • Data & Analytics
    • Add-ons
    • For Any Role

      • Engineer
      • Designer
      • Executive
      • Marketer
    • For Any Stage

      • Build
      • Improve
      • Grow
    • For Any Size

      • Solo
      • Indie
      • AAA
  • Runs on PlayFab
  • Pricing
    • Blog
    • Forums
    • Contact us
  • Sign up
  • Sign in
  • Ask a question
  • Spaces
    • PlayStream
    • Feature Requests
    • Add-on Marketplace
    • Bugs
    • API and SDK Questions
    • General Discussion
    • LiveOps
    • Topics
    • Questions
    • Articles
    • Ideas
    • Users
    • Badges
  • Home /
  • Feature Requests /
avatar image

Muhammad Roshaan Tariq suggested an idea · Nov 21, 2019 at 08:00 AM · apisAccount Management

Client API call for Logout

There should be an official API call for clients to logout from their session

thub.nodes.view.add-new-comment
Muhammad Roshaan Tariq
Roshaan
pixelsage

People who like this

3 Show 0
10 |1200 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

1 comment

· Add your reply
avatar image

Brandon Phillips commented · Nov 21, 2019 at 09:41 PM

The only way to really implement this (other than tracking the last activity time for a client) is to use PlayFabClientAPI.ForgetAllCredentials()

thub.nodes.view.add-new-comment

People who like this

0 Show 3
10 |1200 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Muhammad Roshaan Tariq · Nov 22, 2019 at 07:13 AM 0
Share

But this does not end their sessions from other devices if they are logged-in from others

avatar image Brandon Phillips Muhammad Roshaan Tariq · Nov 22, 2019 at 07:29 AM 0
Share

This would be the only other way to do it:

https://community.playfab.com/questions/304/206710727-Is-there-a-logout-request-in-the-API-.html

avatar image Muhammad Roshaan Tariq · Nov 22, 2019 at 07:14 AM 0
Share

I'm already using this function but it's not an official solution as far as I know

Navigation

Spaces
  • General Discussion
  • API and SDK Questions
  • Feature Requests
  • PlayStream
  • Bugs
  • Add-on Marketplace
  • LiveOps
  • Your Opinion Counts

    We would love to know what you need. Submit your ideas and upvote others to help us prioritize.

    Sign in to post a new idea

    Follow

    Follow This Idea

    2 People are following this .

    avatar image avatar image

    Related Ideas

    Allow setting contact email in server api and/or admin api, or allow custom password recovery email from master email.

    GetPlayFabIDsFromTwitchIDs

    Multiple JSON formatting options (get/set) from API

    Secret key permission management

    Numeric Object Ids

    Include username in password reset email

    Game Key Management - A RedeemCoupon extension + mgmt console

    Get PlayfabIds from a list of emails

    Add PurchaseItem to the Server API

    MailChimp / SparkPost integration

    PlayFab

    • Multiplayer
    • LiveOps
    • Data & Analytics
    • Runs on PlayFab
    • Pricing

    Solutions

    • For Any Role

      • Engineer
      • Designer
      • Executive
      • Marketer
    • For Any Stage

      • Build
      • Improve
      • Grow
    • For Any Size

      • Solo
      • Indie
      • AAA

    Engineers

    • Documentation
    • Quickstarts
    • API Reference
    • SDKs
    • Usage Limits

    Resources

    • Forums
    • Contact us
    • Blog
    • Service Health
    • Terms of Service
    • Attribution

    Follow us

    • Facebook
    • Twitter
    • LinkedIn
    • YouTube
    • Sitemap
    • Contact Microsoft
    • Privacy & cookies
    • Terms of use
    • Trademarks
    • Safety & eco
    • About our ads
    • © Microsoft 2020
    • Anonymous
    • Sign in
    • Create
    • Ask a question
    • Create an article
    • Post an idea
    • Spaces
    • PlayStream
    • Feature Requests
    • Add-on Marketplace
    • Bugs
    • API and SDK Questions
    • General Discussion
    • LiveOps
    • Explore
    • Topics
    • Questions
    • Articles
    • Ideas
    • Users
    • Badges