Destroys all sessions for a user.
Source
final public function destroy_all() {
$this->destroy_all_sessions();
}
Changelog
Version | Description |
---|---|
4.0.0 | Introduced. |
Destroys all sessions for a user.
final public function destroy_all() {
$this->destroy_all_sessions();
}
Version | Description |
---|---|
4.0.0 | Introduced. |
You must log in before being able to contribute a note or feedback.
Following is the real world example for destroying all the sessions for a user using
destroy_all()
.