public function MiniorangeSAMLCustomer::checkCustomer in SAML SP 2.0 Single Sign On (SSO) - SAML Service Provider 7
Check if customer exists.
File
- includes/
customer_setup.php, line 36 - Contains miniOrange Customer class.
Class
- MiniorangeSAMLCustomer
- @file This class represents configuration for customer.
Code
public function checkCustomer() {
$url = MiniorangeSAMLConstants::BASE_URL . '/moas/rest/customer/check-if-exists';
$fields = array(
'email' => $this->email,
);
return $this
->callService($url, $fields);
}