final public function Oauth2Client::checkRequirements in Auth0 Single Sign On 8.2
Checks for all dependencies of SDK or API.
Throws
CoreException If CURL extension is not found.
CoreException If JSON extension is not found.
1 call to Oauth2Client::checkRequirements()
- Oauth2Client::__construct in vendor/
auth0/ auth0-php/ src/ API/ Oauth2Client.php - BaseAuth0 Constructor.
File
- vendor/
auth0/ auth0-php/ src/ API/ Oauth2Client.php, line 532
Class
- Oauth2Client
- This class provides access to Auth0 Platform.
Namespace
Auth0\SDK\APICode
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.');
}
}