Skip to content

Commit

Permalink
Add the user first name and last name to the LTI request
Browse files Browse the repository at this point in the history
  • Loading branch information
jleyva committed Nov 23, 2015
1 parent f1c11cb commit 0312848
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lti.php
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,8 @@
'oauth_callback' => 'about:blank',
'lti_version' => 'LTI-1p0',
'lti_message_type' => 'basic-lti-launch-request',
'lis_person_name_given' => $USER->firstname,
'lis_person_name_family' => $USER->lastname,
);

$hmacmethod = new lti\OAuthSignatureMethod_HMAC_SHA1();
Expand Down

0 comments on commit 0312848

Please sign in to comment.