ResponseHandler
in package
Superclass for all classes that codes how to send a response after successfull authentication
to enable a ResponseHandler extended class set the parameter rp_response_handler to the name of the class (Es. "\SPID_CIE_OIDC_PHP\Response\MyResponse") into the config.json file
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
abstract 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