public function mfaVerify($id, $employeeId, $value)
    {
        $result = $this->mfaVerifyInternal([
            'id' => $id,
            'employee_id' => $employeeId,
            'value' => $value,
        ]);
        $statusCode = (int)$result[ 'statusCode' ];

        /*
         * Accept a 204 for compatibility with earlier ID Broker versions
         */
        if ($statusCode === 204) {
            return true;
        }

        if ($statusCode === 200) {
            return $this->getResultAsArrayWithoutStatusCode($result);
        }

        $this->reportUnexpectedResponse($result, 1506710704);
    }
public function mfaVerify($id, $employeeId, $value)
    {
        $result = $this->mfaVerifyInternal([
            'id' => $id,
            'employee_id' => $employeeId,
            'value' => $value,
        ]);
        $statusCode = (int)$result[ 'statusCode' ];

        /*
         * Accept a 204 for compatibility with earlier ID Broker versions
         */
        if ($statusCode === 204) {
            return true;
        }

        if ($statusCode === 200) {
            return $this->getResultAsArrayWithoutStatusCode($result);
        }

        $this->reportUnexpectedResponse($result, 1506710704);
    }
public function mfaVerify ( $ id , $ employeeId , $ value ) { $ result = $ this -> mfaVerifyInternal ( [ 'id' => $ id , 'employee_id' => $ employeeId , 'value' => $ value , ] ) ; $ statusCode = ( int ) $ result [ 'statusCode' ] ; /*
         * Accept a 204 for compatibility with earlier ID Broker versions
         */ if ( $ statusCode === 204 ) { return true ; } if ( $ statusCode === 200 ) { return $ this -> getResultAsArrayWithoutStatusCode ( $ result ) ; } $ this -> reportUnexpectedResponse ( $ result , 1506710704 ) ; }
Verify an MFA value
@param string $id The MFA ID.
@param string $employeeId The Employee ID of the user with that MFA.
@param string $value The MFA value being verified.
@return bool|array
@throws MfaRateLimitException
@throws ServiceException
Verify an MFA value