Auth0\SDK\API\Oauth2Client::checkRequirements PHP Method

checkRequirements() final public method

Checks for all dependencies of SDK or API.
final public checkRequirements ( )
    public final function checkRequirements()
    {
        if (!function_exists('curl_version')) {
            throw new CoreException('CURL extension is needed to use Auth0 SDK. Not found.');
        }
        if (!function_exists('json_decode')) {
            throw new CoreException('JSON extension is needed to use Auth0 SDK. Not found.');
        }
    }