Permalink
Browse files

MDL-41843 IMS-LTI: Fixed exception namespace

  • Loading branch information...
Rajesh Taneja
Rajesh Taneja committed Oct 8, 2013
1 parent 1027fd9 commit 6b3870a6122ebfc2cee93d6b8655e900b011d391
Showing with 2 additions and 2 deletions.
  1. +2 −2 mod/lti/OAuth.php
View
@@ -181,15 +181,15 @@ protected function fetch_public_cert(&$request) {
// (3) some sort of specific discovery code based on request
//
// either way should return a string representation of the certificate
throw Exception("fetch_public_cert not implemented");
throw OAuthException("fetch_public_cert not implemented");
}
protected function fetch_private_cert(&$request) {
// not implemented yet, ideas are:
// (1) do a lookup in a table of trusted certs keyed off of consumer
//
// either way should return a string representation of the certificate
throw Exception("fetch_private_cert not implemented");
throw OAuthException("fetch_private_cert not implemented");
}
public function build_signature(&$request, $consumer, $token) {

0 comments on commit 6b3870a

Please sign in to comment.