WP_Session_Tokens
Methods
1 to 19 of 19
- WP_Session_Tokens::__construct() – Protected constructor. Use the `get_instance()` method to get the instance.
- WP_Session_Tokens::create() – Generates a session token and attaches session information to it.
- WP_Session_Tokens::destroy_all_for_all_users() – Destroys all sessions for all users.
- WP_Session_Tokens::destroy_all_sessions() – Destroys all sessions for the user.
- WP_Session_Tokens::destroy_all() – Destroys all sessions for a user.
- WP_Session_Tokens::destroy_other_sessions() – Destroys all sessions for this user, except the single session with the given verifier.
- WP_Session_Tokens::destroy_others() – Destroys all sessions for this user except the one with the given token (presumably the one in use).
- WP_Session_Tokens::destroy() – Destroys the session with the given token.
- WP_Session_Tokens::drop_sessions() – Destroys all sessions for all users.
- WP_Session_Tokens::get_all() – Retrieves all sessions for a user.
- WP_Session_Tokens::get_instance() – Retrieves a session manager instance for a user.
- WP_Session_Tokens::get_session() – Retrieves a session based on its verifier (token hash).
- WP_Session_Tokens::get_sessions() – Retrieves all sessions of the user.
- WP_Session_Tokens::get() – Retrieves a user’s session for the given token.
- WP_Session_Tokens::hash_token() – Hashes the given session token for storage.
- WP_Session_Tokens::is_still_valid() – Determines whether a session is still valid, based on its expiration timestamp.
- WP_Session_Tokens::update_session() – Updates a session based on its verifier (token hash).
- WP_Session_Tokens::update() – Updates the data for the session with the given token.
- WP_Session_Tokens::verify() – Validates the given session token for authenticity and validity.