Tustin/fortnite-php

terminate all logged sessions.

Closed this issue · 2 comments

how i can terminate all sessions created with login function of AUTH class?

You can use the unset PHP function to get rid of an existing variable. Other than that, it doesn't really matter if you have unused OAuth tokens from the Fortnite API. They'll just get refreshed when you log in again.

Solved this with e0da939. Use the killSession() method inside the account class to kill the current access token.