From 7cca9edcff2192dc1bf83e56ed8fdade0d3a7daf Mon Sep 17 00:00:00 2001 From: Nikita Date: Thu, 16 Jul 2015 12:38:36 +0500 Subject: [PATCH] method validateRequest is not exists also need fix documentation here http://escherauth.io/escher-php.html --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 2ae28a7..f9fa787 100644 --- a/README.md +++ b/README.md @@ -50,7 +50,7 @@ Escher accepts any kind of object as a key database that implements the ArrayAcc 'ACCESS KEY OF CLIENT 1' => 'SECRET OF CLIENT 1', 'ACCESS KEY OF CLIENT 42' => 'SECRET OF CLIENT 42', )); - Escher::create('example/credential/scope')->validateRequest($keyDB); + Escher::create('example/credential/scope')->authenticate($keyDB); } catch (EscherException $ex) { echo 'The validation failed! ' . $ex->getMessage(); }