ResponseHandlerPlain
extends ResponseHandler
in package
ResponseHandler for plain response
send plain data as POST HTTP request to redirect_uri
Table of Contents
- __construct() : ResponseHandler
- creates a new <ResponseHandler> instance
- sendResponse() : mixed
- send the response
Methods
__construct()
creates a new <ResponseHandler> instance
public
__construct(array<string|int, mixed> $config) : ResponseHandler
Parameters
- $config : array<string|int, mixed>
-
base configuration
Tags
Return values
ResponseHandler —sendResponse()
send the response
public
sendResponse(string $redirect_uri, object $data, string $state) : mixed
Parameters
- $redirect_uri : string
-
URL where send te response
- $data : object
-
data within the response
- $state : string
-
state to be returned