13 'Authorization' =>
'Bearer 12345' 30 $this->assertNull($bearer->getToken());
37 'Authorization' =>
'QBearer 12345' 41 $this->assertNull($bearer->getToken());
50 $bearer->requireLogin();
52 $this->assertEquals(
'Bearer realm="Dagger"',
$response->getHeader(
'WWW-Authenticate'));
53 $this->assertEquals(401,
$response->getStatus());
foreach($paths as $path) $request
The Request class represents a single HTTP request.
HTTP Bearer authentication utility.
This class represents a single HTTP response.
testGetCredentialsNoheader()
testGetCredentialsNotBearer()