public function MiniorangeUser::create in Google Authenticator / 2 Factor Authentication - 2FA 8.2
Same name and namespace in other branches
- 8 src/MiniorangeUser.php \Drupal\miniorange_2fa\MiniorangeUser::create()
File
- src/
MiniorangeUser.php, line 32
Class
Namespace
Drupal\miniorange_2faCode
public function create() {
$apiKey = self::getApiKey();
if (empty($this->customerId) || empty($apiKey)) {
return FALSE;
}
$usersAPIHandler = new UsersAPIHandler($this->customerId, $apiKey);
$response = $usersAPIHandler
->create($this);
}