You are here

public function MiniorangeSAMLCustomer::getCustomerKeys in SAML SP 2.0 Single Sign On (SSO) - SAML Service Provider 8

Get Customer Keys.

File

src/MiniorangeSAMLCustomer.php, line 71
Contains miniOrange Customer class.

Class

MiniorangeSAMLCustomer

Namespace

Drupal\miniorange_saml

Code

public function getCustomerKeys() {
  $url = MiniorangeSAMLConstants::CUSTOMER_GET_KEYS;
  $fields = array(
    'email' => $this->email,
    'password' => $this->password,
  );
  $api = new MoAuthApi();
  return $api
    ->makeCurlCall($url, $fields);
}