Auth0-PHP

PushedAuthorizationRequestInterface
in

Table of Contents

Methods

create()  : string
Produces a redirection URL for authentication using Pushed Authorization Request.
post()  : ResponseInterface
Establish a Pushed Authorization Request.

Methods

create()

Produces a redirection URL for authentication using Pushed Authorization Request.

public create([null|array<string, null|int|string> $parameters = null ][, null|array<string, int|string> $headers = null ]) : string
Parameters
$parameters : null|array<string, null|int|string> = null

Request parameters to send to the API endpoint. The client_id, response_type, and response_mode keys are controlled by the SDK and cannot be overridden here.

$headers : null|array<string, int|string> = null

Headers to send with the API request.

Tags
throws
NetworkException

If the network request is unable to be completed.

ParResponseException

If an unexpected response is returned from a request.

Return values
string

post()

Establish a Pushed Authorization Request.

public post([null|array<string, null|int|string> $parameters = null ][, null|array<string, int|string> $headers = null ]) : ResponseInterface
Parameters
$parameters : null|array<string, null|int|string> = null

Request parameters to send to the API endpoint. The client_id, response_type, and response_mode keys are controlled by the SDK and cannot be overridden here.

$headers : null|array<string, int|string> = null

Headers to send with the API request.

Tags
throws
NetworkException

If the network request is unable to be completed.

ParResponseException

If an unexpected response is returned from a request.

Return values
ResponseInterface
On this page

Search results