Exemplo n.º 1
0
 public function testInfersJwtBearer()
 {
     $o = new OAuth2($this->minimal);
     $o->setIssuer('an issuer');
     $o->setSigningKey('a key');
     $this->assertEquals('urn:ietf:params:oauth:grant-type:jwt-bearer', $o->getGrantType());
 }