• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer
Jetpack a2z

Jetpack a2z

Jetpack a2z

  • Home
  • Plugins
  • Blocks
  • Shortcodes
  • APIs
  • Classes
  • Files
  • Hooks
  • Sitemap
  • Blog
Home / APIs / Jetpack::authenticate_jetpack() – Authenticates XML-RPC and other requests from the Jetpack Server.

You appear to be a bot. Output may be restricted

Description

Authenticates XML-RPC and other requests from the Jetpack Server.

Usage

$\WP_User|mixed = Jetpack::authenticate_jetpack( $user, $username, $password );

Parameters

$user
( \WP_User|mixed ) required – User object if authenticated.
$username
( string ) required – Username.
$password
( string ) required – Password string.

Returns

\WP_User|mixed Authenticated user or error.

Source

File name: jetpack/class.jetpack.php
Lines:

1 to 9 of 9
  public function authenticate_jetpack( $user, $username, $password ) {
    _deprecated_function( __METHOD__, 'jetpack-7.7', 'Automattic\\Jetpack\\Connection\\Manager::authenticate_jetpack' );

    if ( ! $this->connection_manager ) {
      $this->connection_manager = new Connection_Manager();
    }

    return $this->connection_manager->authenticate_jetpack( $user, $username, $password );
  }
 

 View on GitHub View on Trac

Share this:

  • Click to share on Twitter (Opens in new window)
  • Click to share on Facebook (Opens in new window)
  • Click to share on LinkedIn (Opens in new window)
  • Click to share on Pinterest (Opens in new window)

Related

Published: 27 November 2019 | Last updated: 4 April 2020

Primary Sidebar

Information

Function name: Jetpack::authenticate_jetpack
Class ref: Jetpack
Plugin ref: Jetpack
Version: 9.2
Sourcefile: class.jetpack.php
File ref: class.jetpack.php
Deprecated?: No
API Letters: A,J

Footer

Jetpack a2z
Jetpack a2z
Jetpack a2z
WordPress 5.6
WordPress a2z
WordPress core a2z
Genesis Theme Framework a2z
Jetpack a2z
WordPress develop tests
Easy Digital Downloads a2z
WooCommerce a2z
Yoast SEO a2z
WordPress Blocks

Site:  jetpack.wp-a2z.org
© Copyright Jetpack a2z 2014-2021. All rights reserved.


Website designed and developed by Herb Miller
Proudly powered by WordPress and oik plugins

  • Home
  • Blog
  • Sitemap
  • Sites