public function AuthenticationAPIHandler::getAuthStatus in Google Authenticator / 2 Factor Authentication - 2FA 8.2
Same name and namespace in other branches
- 8 src/AuthenticationAPIHandler.php \Drupal\miniorange_2fa\AuthenticationAPIHandler::getAuthStatus()
File
- src/
AuthenticationAPIHandler.php, line 45
Class
Namespace
Drupal\miniorange_2faCode
public function getAuthStatus($txId) {
$fields = array(
'txId' => $txId,
);
$json = json_encode($fields);
$url = MoAuthConstants::getBaseUrl() . MoAuthConstants::$AUTH_STATUS_API;
return MoAuthUtilities::callService($this->customerId, $this->apiKey, $url, $json);
}