コード例 #1
0
 public function testAllowsKnownSigningAlgorithms()
 {
     $o = new OAuth2($this->minimal);
     foreach (OAuth2::$knownSigningAlgorithms as $a) {
         $o->setSigningAlgorithm($a);
         $this->assertEquals($a, $o->getSigningAlgorithm());
     }
 }