diff --git a/README.md b/README.md index 95a1053..5b64e1e 100644 --- a/README.md +++ b/README.md @@ -451,6 +451,15 @@ $url = 'https://www.example.com/verify_email?selector=' . \urlencode($selector) ```php $auth->logOut(); + +// or + +try { + $auth->logOutEverywhere(); +} +catch (\Delight\Auth\NotLoggedInException $e) { + // not logged in +} ``` Additionally, if you store custom information in the session as well, and if you want that information to be deleted, you can destroy the entire session by calling a second method: