Adapter capabilities

 User authentication YES
 User profile YES
 User contacts list YES
Post to user wall / update status NO
 Access provider API YES

Adapter specifications

 ID Yahoo
 Protocol OAuth 2
 IDp URL https://www.yahoo.com
 Keys registration https://developer.yahoo.com/apps
 Dev documentation https://developer.yahoo.com/oauth2/guide
 Wrapper ./Hybrid/Providers/Yahoo.php
Callback URL http://mywebsite.com/path_to_hybridauth

Configuration & Usage

  <?php
      $config = array(
        "base_url" => "http://mywebsite.com/path/to/hybridauth/",
        "providers" => array(
          "Yahoo" => array(
            "enabled" => true,
            "keys"    => array("id" => "PUT_YOURS_HERE", "secret" => "PUT_YOURS_HERE"),
            "scope"   => ['sdct-r', 'fspt-r', 'mail-r', 'sdps-r'], // optional
          ),
        ),
      );

      require_once( "/path/to/hybridauth/Hybrid/Auth.php" );

      $hybridauth = new Hybrid_Auth( $config );

      $adapter = $hybridauth->authenticate( "Yahoo" );

      $user_profile = $adapter->getUserProfile();
  

For Yahoo you can configure several extra options:

Registering application

  1. Go to https://developer.yahoo.com/apps and create a new application by clicking "Create an App".
  2. Fill out any required fields such as the Application Name.
  3. Specify the domain to which your application will be returning after successfully authenticating. (i.e. http://mywebsite.com/path_to_hybridauth)
  4. Select private user data APIs that your application needs to access.
  5. Once you have registered, copy and past the created application credentials (App ID and Secret) into the HybridAuth config file.