class ApiKeyAuthenticationFailedException extends AlligatorSecurityException implements HttpExceptionInterface

Class ApiKeyAuthenticationFailedException

Properties

protected int $statusCode from AlligatorException

Methods

JsonResponse
getResponse()

No description

__construct(int|string $statusCode = Response::HTTP_NON_AUTHORITATIVE_INFORMATION, string $message = "The APIKey authentication failed.", Exception $previous = null, array $headers = array(), int $code = 0)

No description

string
getStatusCode()

No description

array
getHeaders()

No description

Details

in AlligatorException at line 28
JsonResponse getResponse()

Return Value

JsonResponse

at line 33
__construct(int|string $statusCode = Response::HTTP_NON_AUTHORITATIVE_INFORMATION, string $message = "The APIKey authentication failed.", Exception $previous = null, array $headers = array(), int $code = 0)

Parameters

int|string $statusCode
string $message
Exception $previous
array $headers
int $code

at line 46
string getStatusCode()

Return Value

string

at line 54
array getHeaders()

Return Value

array