PushedAuthorizationRequest
in package
implements
PushedAuthorizationRequestInterface
Read onlyYes
FinalYes
Table of Contents
Interfaces
Properties
Methods
- __construct() : mixed
- create() : string
- Produces a redirection URL for authentication using Pushed Authorization Request.
- post() : ResponseInterface
- Establish a Pushed Authorization Request.
Properties
$authentication
private
AuthenticationInterface
$authentication
Methods
__construct()
public
__construct(AuthenticationInterface $authentication) : mixed
Parameters
- $authentication : AuthenticationInterface
-
A configured instance of the Authentication manager class.
create()
Produces a redirection URL for authentication using Pushed Authorization Request.
public
create([array<string|int, mixed>|null $parameters = null ][, array<string|int, mixed>|null $headers = null ]) : string
Parameters
- $parameters : array<string|int, mixed>|null = null
-
Request parameters to send to the API endpoint. The
client_id,response_type, andresponse_modekeys are controlled by the SDK and cannot be overridden here. - $headers : array<string|int, mixed>|null = null
-
Headers to send with the API request.
Return values
stringpost()
Establish a Pushed Authorization Request.
public
post([array<string|int, mixed>|null $parameters = null ][, array<string|int, mixed>|null $headers = null ]) : ResponseInterface
Parameters
- $parameters : array<string|int, mixed>|null = null
-
Request parameters to send to the API endpoint. The
client_id,response_type, andresponse_modekeys are controlled by the SDK and cannot be overridden here. - $headers : array<string|int, mixed>|null = null
-
Headers to send with the API request.