Exemplo n.º 1
0
 public function testHasAllowedGrantType()
 {
     $client = new Client(['id' => 'pablodip', 'allowedGrantTypes' => ['foo']]);
     $this->assertTrue($client->hasAllowedGrantType('foo'));
     $this->assertFalse($client->hasAllowedGrantType('bar'));
 }