ADmad\HybridAuth\Auth\HybridAuthAuthenticate::__construct PHP Method

__construct() public method

Constructor
public __construct ( Cake\Controller\ComponentRegistry $registry, array $config )
$registry Cake\Controller\ComponentRegistry The Component registry used on this request.
$config array Array of config to use.
    public function __construct(ComponentRegistry $registry, $config)
    {
        $this->config(['fields' => ['provider' => 'provider', 'openid_identifier' => 'openid_identifier', 'email' => 'email'], 'profileModel' => 'ADmad/HybridAuth.SocialProfiles', 'profileModelFkField' => 'user_id', 'hauth_return_to' => null]);
        parent::__construct($registry, $config);
    }