mirror of
https://github.com/moodle/moodle.git
synced 2025-04-05 16:32:43 +02:00
MDL-62599 mod_lit: Missing end of function
This commit is contained in:
parent
1bc7f99bf7
commit
408cb8d64c
@ -3090,6 +3090,10 @@ function lti_sign_jwt($parms, $endpoint, $oauthconsumerkey, $typeid = 0, $nonce
|
||||
$kid = get_config('mod_lti', 'kid');
|
||||
$jwt = JWT::encode($payload, $privatekey, 'RS256', $kid);
|
||||
|
||||
$newparms = array();
|
||||
$newparms['id_token'] = $jwt;
|
||||
|
||||
return $newparms;
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user