You are here

public function MiniorangeUser::get in Google Authenticator / 2 Factor Authentication - 2FA 7

File

classes/User.php, line 53

Class

MiniorangeUser

Code

public function get() {
  $apiKey = variable_get('mo_auth_customer_api_key', NULL);
  if (is_null($this->customerId) || is_null($apiKey)) {
    return FALSE;
  }
  $usersAPIHandler = new UsersAPIHandler($this->customerId, $apiKey);
  $response = $usersAPIHandler
    ->get($this);
}