예제 #1
0
파일: JwtTest.php 프로젝트: maarky/jwt
 public function testRemoveClaim()
 {
     $jwt = new Jwt($this->claims, $this->secret, $this->header);
     $jwt->removeClaim('sub');
     $this->assertTrue($jwt->getClaim('sub')->isEmpty());
 }