/etc/simplesamlphp/attributemap/twitter2name.php is in simplesamlphp 1.9.2-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | <?php
$attributemap = array(
// Generated Twitter Attributes
'twitter_screen_n_realm' => 'eduPersonPrincipalName', // screen_name@twitter.com
//'twitter_at_screen_name' => 'eduPersonPrincipalName', // legacy @twitter format
'twitter_targetedID' => 'eduPersonTargetedID', // http://twitter.com!id_str
// Attributes Returned by Twitter
'twitter.screen_name' => 'uid', // equivalent to twitter username without leading @
//'twitter.id_str' => 'uid', // persistent numeric twitter user id
'twitter.name' => 'displayName',
'twitter.url' => 'labeledURI',
'twitter.lang' => 'preferredLanguage',
//'twitter.profile_image_url' => 'jpegPhoto',
'twitter.description' => 'description',
);
|