diff --git a/src/oauth2server/DatabaseInterface.php b/src/oauth2server/DatabaseInterface.php
index <HASH>..<HASH> 100644
--- a/src/oauth2server/DatabaseInterface.php
+++ b/src/oauth2server/DatabaseInterface.php
@@ -6,8 +6,8 @@ interface DatabaseInteface
 {
     public function validateClient(
         $clientId,
-        $clientSecret,
-        $redirectUri
+        $clientSecret = null,
+        $redirectUri = null
     );
 
     public function newSession(
Added NULL default back to $clientSecret and $redirectUri