public function getAuthType() { return 'Basic'; }
public function testBearerAuth() { $token = base64_encode('user:password'); $auth = new BasicAuth('user', 'password'); $this->assertSame($token, $auth->getCredentials()); $this->assertSame('Basic', $auth->getAuthType()); }