Auth0-PHP

ParResponseException extends Exception
in package
implements ExtendedExceptionInterface

FinalYes

The Pushed Authorization Request endpoint (`/oauth/par`) returned an unexpected response.

Tags
codeCoverageIgnore

Table of Contents

Interfaces

ExtendedExceptionInterface
Represents all errors generated by SDK itself.

Properties

$request  : RequestInterface|null
$response  : ResponseInterface|null

Methods

__construct()  : mixed
getRequest()  : RequestInterface|null
getResponse()  : ResponseInterface|null
message()  : string
Produces a formatted exception string using the supplied values.
setRequest()  : self
setResponse()  : self

Properties

Methods

__construct()

public __construct([string|null $message = null ][, int $code = 0 ][, Throwable|null $previous = null ][, ResponseInterface|null $response = null ][, RequestInterface|null $request = null ]) : mixed
Parameters
$message : string|null = null
$code : int = 0
$previous : Throwable|null = null
$response : ResponseInterface|null = null
$request : RequestInterface|null = null

getRequest()

public getRequest() : RequestInterface|null
Return values
RequestInterface|null

getResponse()

public getResponse() : ResponseInterface|null
Return values
ResponseInterface|null

message()

Produces a formatted exception string using the supplied values.

public static message([array<string|int, mixed> $values = [] ]) : string
Parameters
$values : array<string|int, mixed> = []

Values to be injected into the message.

Return values
string

setRequest()

public setRequest(RequestInterface $request) : self
Parameters
$request : RequestInterface
Return values
self

setResponse()

public setResponse(ResponseInterface $response) : self
Parameters
$response : ResponseInterface
Return values
self
On this page

Search results