Sign out
Call Sign Out when the user chooses to leave the account. The SDK ends the server session, stops its heartbeat and clears current user data. Keep the application open and return to your own sign-in screen.
SDK version: V3 Beta. These examples use the current downloads. V1 and V2 use different APIs; choose them in the version selector.
Each example assumes app is the AuthlyX client you created in Connect your app. When a method takes a callback, AuthlyX calls it after the reply arrives. A name such as result inside that callback is created there; you do not declare it at the top of your file. For C++ futures, Python or JavaScript await, Java futures, Go errors and Rust ?, read Results.
C#
C++
Python
JavaScript / Node.js
TypeScript
Java
Go
Rust
Dispose or close the SDK when the application itself shuts down. Sign Out is for ending a user’s session; Close is for stopping the SDK client.

