name; } /** * Set the client's name. * * @param string $name */ public function setName($name) { $this->name = $name; } /** * @param string $secret */ public function setSecret($secret) { $this->secret = $secret; } /** * Get the hashed client secret * * @return string */ public function getSecret() { return $this->secret; } /** * Set the client's redirect uri. * * @param string $redirectUri */ public function setRedirectUri($redirectUri) { $this->redirectUri = $redirectUri; } /** * Returns the registered redirect URI. * * @return string */ public function getRedirectUri() { return $this->redirectUri; } /** * Returns true if the client is capable of keeping it's secrets secret. * * @return bool */ public function canKeepASecret() { return $this->secret !== null; } }