BadQueryAuthResponse
Less than 1 minute
BadQueryAuthResponse
Exception thrown when an authentication adapter returns an invalid auth payload.
class BadQueryAuthResponse extends \Hazaar\ExceptionExtends: Hazaar\Exception
Raised when queryAuth() responses do not include required keys (such as identity or credential) expected by the authentication pipeline.
Methods
__construct
Creates an exception for malformed authentication query results.
public __construct(string $missingKey, int $code = 500, ?\Throwable $previousException): voidParameters
| Parameter | Type | Description |
|---|---|---|
$missingKey | string | required key missing from auth data |
$code | int | exception code (default 500) |
$previousException | Throwable | optional previous exception for chaining |
Generated by Hazaar API Doc Generator on Fri, 04 Sep 2026 23:32:17 +0000