You are here

public function MiniorangeOAuthClientCustomer::__construct in Drupal OAuth & OpenID Connect Login - OAuth2 Client SSO Login 8

Constructor.

File

src/MiniorangeOAuthClientCustomer.php, line 34
Contains miniOrange Customer class.

Class

MiniorangeOAuthClientCustomer

Namespace

Drupal\miniorange_oauth_client

Code

public function __construct($email, $phone, $password, $otp_token) {
  $this->email = $email;
  $this->phone = $phone;
  $this->password = $password;
  $this->otpToken = $otp_token;
  $this->defaultCustomerId = "16555";
  $this->defaultCustomerApiKey = "fFd2XcvTGDemZvbw1bcUesNJWEqKbbUq";
}