PHP Classes

File: web/SSO/attributemap/linkedin2name.php

Recommend this page to a friend!
  Classes of william amed   Raptor 2   web/SSO/attributemap/linkedin2name.php   Download  
File: web/SSO/attributemap/linkedin2name.php
Role: Auxiliary script
Content type: text/plain
Description: Auxiliary script
Class: Raptor 2
Framework that takes routes from annotations
Author: By
Last change:
Date: 8 years ago
Size: 733 bytes
 

Contents

Class file image Download
<?php
$attributemap
= array(

   
// See http://developer.linkedin.com/docs/DOC-1061 for LinkedIn Profile fields.
    // NB: JSON response requires the conversion of field names from hyphened to camelCase.
    // For instance, first-name becomes firstName.

    // Generated LinkedIn Attributes
   
'linkedin_user' => 'eduPersonPrincipalName', // id @ linkedin.com
   
'linkedin_targetedID' => 'eduPersonTargetedID', // http://linkedin.com!id

    // Attributes Returned by LinkedIn
   
'linkedin.firstName' => 'givenName',
   
'linkedin.lastName' => 'sn',
   
'linkedin.id' => 'uid', // alpha + mixed case user id
    //'linkedin.pictureUrl' => 'jpegPhoto', // URL not image data
   
'linkedin.headline' => 'title',
   
'linkedin.summary' => 'description',
);