|  | @@ 936-954 (lines=19) @@ | 
                                                            
                                    | 933 |  | 	 * @param Boolean               $is_signed      Whether the signature check has been successful. | 
                                                            
                                    | 934 |  | 	 * @param Jetpack_XMLRPC_Server $xmlrpc_server  (optional) An instance of the server to use instead of instantiating a new one. | 
                                                            
                                    | 935 |  | 	 */ | 
                                                            
                                    | 936 |  | 	public function setup_xmlrpc_handlers( | 
                                                            
                                    | 937 |  | 		$request_params, | 
                                                            
                                    | 938 |  | 		$is_active, | 
                                                            
                                    | 939 |  | 		$is_signed, | 
                                                            
                                    | 940 |  | 		Jetpack_XMLRPC_Server $xmlrpc_server = null | 
                                                            
                                    | 941 |  | 	) { | 
                                                            
                                    | 942 |  | 		_deprecated_function( __METHOD__, 'jetpack-7.7', 'Automattic\\Jetpack\\Connection\\Manager::setup_xmlrpc_handlers' ); | 
                                                            
                                    | 943 |  |  | 
                                                            
                                    | 944 |  | 		if ( ! $this->connection_manager ) { | 
                                                            
                                    | 945 |  | 			$this->connection_manager = new Connection_Manager(); | 
                                                            
                                    | 946 |  | 		} | 
                                                            
                                    | 947 |  |  | 
                                                            
                                    | 948 |  | 		return $this->connection_manager->setup_xmlrpc_handlers( | 
                                                            
                                    | 949 |  | 			$request_params, | 
                                                            
                                    | 950 |  | 			$is_active, | 
                                                            
                                    | 951 |  | 			$is_signed, | 
                                                            
                                    | 952 |  | 			$xmlrpc_server | 
                                                            
                                    | 953 |  | 		); | 
                                                            
                                    | 954 |  | 	} | 
                                                            
                                    | 955 |  |  | 
                                                            
                                    | 956 |  | 	/** | 
                                                            
                                    | 957 |  | 	 * Initialize REST API registration connector. | 
                                                                                
                                |  | @@ 5676-5684 (lines=9) @@ | 
                                                            
                                    | 5673 |  | 	 * @param string         $password Password string. | 
                                                            
                                    | 5674 |  | 	 * @return \WP_User|mixed Authenticated user or error. | 
                                                            
                                    | 5675 |  | 	 */ | 
                                                            
                                    | 5676 |  | 	public function authenticate_jetpack( $user, $username, $password ) { | 
                                                            
                                    | 5677 |  | 		_deprecated_function( __METHOD__, 'jetpack-7.7', 'Automattic\\Jetpack\\Connection\\Manager::authenticate_jetpack' ); | 
                                                            
                                    | 5678 |  |  | 
                                                            
                                    | 5679 |  | 		if ( ! $this->connection_manager ) { | 
                                                            
                                    | 5680 |  | 			$this->connection_manager = new Connection_Manager(); | 
                                                            
                                    | 5681 |  | 		} | 
                                                            
                                    | 5682 |  |  | 
                                                            
                                    | 5683 |  | 		return $this->connection_manager->authenticate_jetpack( $user, $username, $password ); | 
                                                            
                                    | 5684 |  | 	} | 
                                                            
                                    | 5685 |  |  | 
                                                            
                                    | 5686 |  | 	/** | 
                                                            
                                    | 5687 |  | 	 * Authenticates requests from Jetpack server to WP REST API endpoints. |