You are here

public function AuthenticationAPIHandler::getRegistrationStatus in Google Authenticator / 2 Factor Authentication - 2FA 7

File

classes/AuthenticationAPIHandler.php, line 97

Class

AuthenticationAPIHandler

Code

public function getRegistrationStatus($txId) {
  $fields = array(
    'txId' => $txId,
  );
  $json = json_encode($fields);
  $url = MoAuthConstants::getBaseUrl() . MoAuthConstants::$AUTH_REGISTRATION_STATUS_API;
  return MoAuthUtilities::callService($this->customerId, $this->apiKey, $url, $json);
}