Ejemplo n.º 1
0
 public function testHasAllowedScope()
 {
     $client = new Client(['id' => 'pablodip', 'allowedScopes' => ['foo']]);
     $this->assertTrue($client->hasAllowedScope('foo'));
     $this->assertFalse($client->hasAllowedScope('bar'));
 }