Exemplo n.º 1
0
 public function checkClientCredentials(IOAuth2Client $client, $client_secret = null)
 {
     if (!$client instanceof ClientInterface) {
         throw new \InvalidArgumentException('Client has to implement the ClientInterface');
     }
     return $client->checkSecret($client_secret);
 }
Exemplo n.º 2
0
 public function checkClientCredentials(IOAuth2Client $client, $clientSecret = null)
 {
     return $client->checkSecret($clientSecret);
 }