Written by Aaron Axelsen <axelsena at uww dot edu>
University of Wisconsin - Whitewater
This class is based on the provided connection samples from Apple.
$itunesConfig['roles']['administrator'] = 'Administrator@urn:mace:itunesu.com:sites:example.edu'; $itunesConfig['roles']['student'] = 'Student@urn:mace:itunesu.com:sites:example.edu:classes'; $itunesConfig['roles']['instructor'] = 'Instructor@urn:mace:itunesu.com:sites:example.edu:classes'; $itunesConfig['siteURL'] = 'https://deimos.apple.com/WebObjects/Core.woa/Browse/example.edu'; $itunesConfig['debugSuffix'] = '/abc1234'; $itunesConfig['sharedSecret'] = 'STRINGOFTHIRTYTWOLETTERSORDIGITS'; // Option 1 $itunes = new itunes($itunesConfig); // Option 2 $itunes = new itunes(); $itunes->config($itunesConfig);
Brett Beiber (University of Nebraska-Lincoln) has created a Pear package for the iTunes U authentication script.
Pear Channel - http://pear.unl.edu
pear channel-discover pear.unl.edu pear install UNL_iTunesU-beta