ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
linkedin2name.php
Go to the documentation of this file.
1<?php
3
4 // See http://developer.linkedin.com/docs/DOC-1061 for LinkedIn Profile fields.
5 // NB: JSON response requires the conversion of field names from hyphened to camelCase.
6 // For instance, first-name becomes firstName.
7
8 // Generated LinkedIn Attributes
9 'linkedin_user' => 'eduPersonPrincipalName', // id @ linkedin.com
10 'linkedin_targetedID' => 'eduPersonTargetedID', // http://linkedin.com!id
11
12 // Attributes Returned by LinkedIn
13 'linkedin.firstName' => 'givenName',
14 'linkedin.lastName' => 'sn',
15 'linkedin.id' => 'uid', // alpha + mixed case user id
16 'linkedin.headline' => 'title',
17 'linkedin.summary' => 'description',
18);
An exception for terminatinating execution or to throw for unit testing.
$attributemap