From c7a5a57304d51e5447900a2251732c5872f4ce1b Mon Sep 17 00:00:00 2001 From: Alex Bilbie Date: Tue, 15 Mar 2016 21:29:35 +0000 Subject: [PATCH] Added getSecret method to ClientEntityInterface --- src/Entities/Interfaces/ClientEntityInterface.php | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/src/Entities/Interfaces/ClientEntityInterface.php b/src/Entities/Interfaces/ClientEntityInterface.php index a3ab3b99..180719b1 100644 --- a/src/Entities/Interfaces/ClientEntityInterface.php +++ b/src/Entities/Interfaces/ClientEntityInterface.php @@ -38,13 +38,11 @@ interface ClientEntityInterface public function setSecret($secret); /** - * Validate the secret provided by the client. + * Get the hashed client secret * - * @param string $submittedSecret - * - * @return bool + * @return string */ - public function validateSecret($submittedSecret); + public function getSecret(); /** * Set the client's redirect uri.