'meow'); $procedure = 'test'; $params = 'meow=cool&the=bean'; $queryToken = $provider->sign(false, $procedure, $params); $this->assertTrue($provider->verify($queryToken, false, $procedure, $params)); $this->assertFalse($provider->verify($queryToken, true, $procedure, $params)); $actionToken = $provider->sign(true, $procedure, $params); $this->assertTrue($provider->verify($actionToken, true, $procedure, $params)); $this->assertFalse($provider->verify($actionToken, false, $procedure, $params)); } }