Skip to content
  • Log In
  • Register
WordPress.org
  • News
  • Download & Extend
    • Get WordPress
    • Themes
    • Patterns
    • Plugins
    • Openverse
    • Mobile
    • Hosting
  • Learn
    • Learn WordPress
    • Documentation
    • Forums
    • WordPress.tv
    • Developers
  • Community
    • Make WordPress
    • WordCamp
    • Meetups
    • Photo Directory
    • Job Board
    • Five for the Future
  • About
    • About WordPress
    • Showcase
    • Gutenberg
    • Enterprise
    • WordPress Swag Store
  • Get WordPress
Get WordPress

Developer Resources

Browse: Home / Reference / wp-includes/class-wp-session-tokens.php

WP_Session_Tokens::drop_sessions()

Method: Destroys all sessions for all users.

Source: wp-includes/class-wp-session-tokens.php:294

Used by 0 functions | Uses 0 functions

WP_Session_Tokens::get_sessions()

Method: Retrieves all sessions of the user.

Source: wp-includes/class-wp-session-tokens.php:249

Used by 1 function | Uses 0 functions

WP_Session_Tokens::get_session()

Method: Retrieves a session based on its verifier (token hash).

Source: wp-includes/class-wp-session-tokens.php:259

Used by 3 functions | Uses 0 functions

WP_Session_Tokens::update_session()

Method: Updates a session based on its verifier (token hash).

Source: wp-includes/class-wp-session-tokens.php:271

Used by 2 functions | Uses 0 functions

WP_Session_Tokens::destroy_other_sessions()

Method: Destroys all sessions for this user, except the single session with the given verifier.

Source: wp-includes/class-wp-session-tokens.php:280

Used by 1 function | Uses 0 functions

WP_Session_Tokens::destroy_all_sessions()

Method: Destroys all sessions for the user.

Source: wp-includes/class-wp-session-tokens.php:287

Used by 2 functions | Uses 0 functions

WP_Session_Tokens::destroy_others()

Method: Destroys all sessions for this user except the one with the given token (presumably the one in use).

Source: wp-includes/class-wp-session-tokens.php:189

Used by 0 functions | Uses 4 functions

WP_Session_Tokens::is_still_valid()

Method: Determines whether a session is still valid, based on its expiration timestamp.

Source: wp-includes/class-wp-session-tokens.php:207

Used by 0 functions | Uses 0 functions

WP_Session_Tokens::destroy_all()

Method: Destroys all sessions for a user.

Source: wp-includes/class-wp-session-tokens.php:216

Used by 0 functions | Uses 1 function

session_token_manager

Filter Hook: Filters the class name for the session token manager.

Source: wp-includes/class-wp-session-tokens.php:58

Used by 2 functions | Uses 0 functions

WP_Session_Tokens::destroy_all_for_all_users()

Method: Destroys all sessions for all users.

Source: wp-includes/class-wp-session-tokens.php:225

Used by 0 functions | Uses 1 function

WP_Session_Tokens::hash_token()

Method: Hashes the given session token for storage.

Source: wp-includes/class-wp-session-tokens.php:70

Used by 5 functions | Uses 0 functions

WP_Session_Tokens::get_all()

Method: Retrieves all sessions for a user.

Source: wp-includes/class-wp-session-tokens.php:238

Used by 0 functions | Uses 1 function

WP_Session_Tokens::get()

Method: Retrieves a user’s session for the given token.

Source: wp-includes/class-wp-session-tokens.php:87

Used by 0 functions | Uses 2 functions

WP_Session_Tokens::verify()

Method: Validates the given session token for authenticity and validity.

Source: wp-includes/class-wp-session-tokens.php:102

Used by 0 functions | Uses 2 functions

WP_Session_Tokens::create()

Method: Generates a session token and attaches session information to it.

Source: wp-includes/class-wp-session-tokens.php:123

Used by 0 functions | Uses 4 functions

attach_session_information

Filter Hook: Filters the information attached to the newly created session.

Source: wp-includes/class-wp-session-tokens.php:134

Used by 1 function | Uses 0 functions

WP_Session_Tokens::update()

Method: Updates the data for the session with the given token.

Source: wp-includes/class-wp-session-tokens.php:165

Used by 1 function | Uses 2 functions

WP_Session_Tokens::destroy()

Method: Destroys the session with the given token.

Source: wp-includes/class-wp-session-tokens.php:177

Used by 0 functions | Uses 2 functions

WP_Session_Tokens

Class: Abstract class for managing user session tokens.

Source: wp-includes/class-wp-session-tokens.php:16

Used by 1 function | Uses 0 functions

WP_Session_Tokens::__construct()

Method: Protected constructor. Use the `get_instance()` method to get the instance.

Source: wp-includes/class-wp-session-tokens.php:33

Used by 0 functions | Uses 0 functions

WP_Session_Tokens::get_instance()

Method: Retrieves a session manager instance for a user.

Source: wp-includes/class-wp-session-tokens.php:49

Used by 8 functions | Uses 1 function
  • About
  • News
  • Hosting
  • Donate
  • Swag
  • Documentation
  • Developers
  • Get Involved
  • Learn
  • Showcase
  • Plugins
  • Themes
  • Patterns
  • WordCamp
  • WordPress.TV
  • BuddyPress
  • bbPress
  • WordPress.com
  • Matt
  • Privacy
  • Public Code
WordPress.org
WordPress.org
  • Visit our Facebook page
  • Visit our Twitter account
  • Visit our Instagram account
  • Visit our LinkedIn account
Code is Poetry