docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method ClearSessionToken

    ClearSessionToken()

    Deletes the session token if it exists.

    Declaration
    void ClearSessionToken()
    Exceptions
    Type Condition
    AuthenticationException

    The task fails with the exception when the task cannot complete successfully due to Authentication specific errors.

    • Throws with ErrorCode ClientInvalidUserState if the player is not signed out.
    In This Article
    Back to top
    Copyright © 2023 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)