コード例 #1
0
 public function testAllowsUrnRedirectUri()
 {
     $urn = 'urn:ietf:wg:oauth:2.0:oob';
     $o = new OAuth2($this->minimal);
     $o->setRedirectUri($urn);
     $this->assertEquals($urn, $o->getRedirectUri());
 }