You are here

public function MockApi::getHistoryBody in Auth0 Single Sign On 8.2

Get the body from a mocked request.

Return value

\stdClass|array

File

vendor/auth0/auth0-php/tests/MockApi.php, line 118

Class

MockApi
Class MockApi

Namespace

Auth0\Tests

Code

public function getHistoryBody() {
  $body = $this
    ->getHistory()
    ->getBody();
  return json_decode($body, true);
}