~ubuntu-branches/ubuntu/trusty/moodle/trusty-proposed

« back to all changes in this revision

Viewing changes to mod/lti/OAuth.php

  • Committer: Package Import Robot
  • Author(s): Thijs Kinkhorst
  • Date: 2013-11-22 14:09:51 UTC
  • mfrom: (1.1.12)
  • Revision ID: package-import@ubuntu.com-20131122140951-91mw814y48z5ts8r
Tags: 2.5.3-1
* New upstream version: 2.5.3.
  - Incorporates CAS security patch.
  - Fixes security issues CVE-2013-4522, CVE-2013-4523,
    CVE-2013-4524, CVE-2013-4525, CVE-2013-6780.

Show diffs side-by-side

added added

removed removed

Lines of Context:
181
181
        // (3) some sort of specific discovery code based on request
182
182
        //
183
183
        // either way should return a string representation of the certificate
184
 
        throw Exception("fetch_public_cert not implemented");
 
184
        throw OAuthException("fetch_public_cert not implemented");
185
185
    }
186
186
 
187
187
    protected function fetch_private_cert(&$request) {
189
189
        // (1) do a lookup in a table of trusted certs keyed off of consumer
190
190
        //
191
191
        // either way should return a string representation of the certificate
192
 
        throw Exception("fetch_private_cert not implemented");
 
192
        throw OAuthException("fetch_private_cert not implemented");
193
193
    }
194
194
 
195
195
    public function build_signature(&$request, $consumer, $token) {