mirror of
				https://github.com/elyby/oauth2-server.git
				synced 2025-05-31 14:12:07 +05:30 
			
		
		
		
	Remove client secret propety on entity
This commit is contained in:
		| @@ -15,19 +15,6 @@ interface ClientEntityInterface | ||||
|      */ | ||||
|     public function setIdentifier($identifier); | ||||
|  | ||||
|     /** | ||||
|      * Get the client's secret | ||||
|      * @return string | ||||
|      */ | ||||
|     public function getSecret(); | ||||
|  | ||||
|     /** | ||||
|      * Set the client's secret | ||||
|      * @param string $secret | ||||
|      * @return string | ||||
|      */ | ||||
|     public function setSecret($secret); | ||||
|  | ||||
|     /** | ||||
|      * Get the client's name | ||||
|      * @return string | ||||
|   | ||||
| @@ -3,35 +3,11 @@ namespace League\OAuth2\Server\Entities\Traits; | ||||
|  | ||||
| trait ClientEntityTrait | ||||
| { | ||||
|     /** | ||||
|      * @var string | ||||
|      */ | ||||
|     protected $secret; | ||||
|  | ||||
|     /** | ||||
|      * @var string | ||||
|      */ | ||||
|     protected $name; | ||||
|  | ||||
|     /** | ||||
|      * Get the client's secret | ||||
|      * @return string | ||||
|      */ | ||||
|     public function getSecret() | ||||
|     { | ||||
|         return $this->secret; | ||||
|     } | ||||
|  | ||||
|     /** | ||||
|      * Set the client's secret | ||||
|      * @param string $secret | ||||
|      * @return string | ||||
|      */ | ||||
|     public function setSecret($secret) | ||||
|     { | ||||
|         $this->secret = $secret; | ||||
|     } | ||||
|  | ||||
|     /** | ||||
|      * Get the client's name | ||||
|      * @return string | ||||
|   | ||||
		Reference in New Issue
	
	Block a user