OAuth2 Request Instance

Simple OAuth2 Request Implementation.


Server Request

Implementation OAuth2 ServerRequest instance.

$request = new ServerRequest();

Client Request

Implementation OAuth2 ClientRequest instance.

$request = new ClientRequest();

sendRequest

Send request action.

$response = $request->sendRequest($endpoint);