BadQueryAuthResponse
Less than 1 minute
BadQueryAuthResponse
Exception thrown when an authentication adapter returns an invalid auth payload.
class BadQueryAuthResponse extends \Hazaar\Auth\Exception\ExceptionRaised 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 Tue, 21 Apr 2026 04:00:24 +0000